1

Apache + Django making requests out causes memory leaks

view story
linux-howto

http://serverfault.com – My site on Webfaction is using the Requests python package to make a good number of requests to another site. This happens whenever a user triggers a particular ajax request on mine. (I on-demand scrape the other site to provide the info, and it involves navigating through around 8 pages via post requests, and two or three parsings via the BeautifulSoup package.) When I'm making normal requests to my site, the apache worker memory usage is very stable at 33MB or so. However, each time I make a request triggering the actions to get this extra info, it leaks about 12MB (!). I'm thinking this m (HowTos)