On Wednesday 08 Feb 2006 8:39 pm, Jason F. McBrayer wrote: > On Wed, 2006-02-08 at 13:36 +0530, Kenneth Gonsalves wrote: > > i have three django sites on a box. It is virtual hosting. The > > active memory allotted is 75MB. I am getting complaints that i > > am exceeding this memory. What can be done? as far as i can > > see, each time someone accesses the site, a new httpd process > > is started which takes up about 12 mb - 6 hits and the memory > > is exhausted > > It will probably take more specific information to answer this. > What is the webserver (apache, lighttpd, other), and what method > are you using to connect django to it (mod-python, fast-cgi, > scgi, other)? If fast-cgi, how is your program started (apache > mod-fastcgi process manager, or standalone)? All of those could > have some impact on memory usage.
it is a freebsd box, on it i have a virtual box, my memory quota is 75MB, but it is not a hard quota. Debug is off. Am using apache+mod_python. For three sites, when there are no hits, the memory used is 42 mb (that includes the httpd and everything else). 6 hits takes the memory usage to 150mb. The sites are small - each with around 5-10 models. -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

