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.

Also, according to another recent thread on this list, DEBUG=True
significantly increases memory usage.

-- 
+----------------------------------------------------------------+
| Jason F. McBrayer                         [EMAIL PROTECTED]  |
|  "If you wish to make Pythocles wealthy, don't give him more   |
|   money; rather, reduce his desires."            -- Epicurus   |

Reply via email to