Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Graham Dumpleton
On Aug 11, 9:08 am, Jumpfroggy wrote: > On Aug 10, 2:24 pm, dartdog wrote: > > > Big help!! Had just started getting using too much memory notices from > > Webfaction yesterday evening... > > Yeah, I didn't even pay attention till I hit about

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Graham Dumpleton
On Aug 11, 3:11 am, Jumpfroggy wrote: > Wow, lots of good feedback here.  Thanks! > > On Aug 9, 6:17 pm, Graham Dumpleton > wrote: > > > Replace use of mod_python with mod_wsgi. > > I'm using mod_wsgi for everything already, forgot to say.  

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Graham Dumpleton
On Aug 11, 12:25 am, Dj Gilcrease wrote: > On Mon, Aug 10, 2009 at 6:43 AM, Graham > > Dumpleton wrote: > > These values for min and max threads are a bit dubious because you > > have a single process and that will have fixed 25 threads.

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Jumpfroggy
On Aug 10, 2:24 pm, dartdog wrote: > Big help!! Had just started getting using too much memory notices from > Webfaction yesterday evening... Yeah, I didn't even pay attention till I hit about 120-140MB on my 80MB plan and got everything turned off. Otherwise I would have

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread dartdog
Big help!! Had just started getting using too much memory notices from Webfaction yesterday evening... The other item is using the crontab -e command from ssh to comment out apps you don't need to have running For some reason could not find that when I was looking for it and one of my sites

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Jumpfroggy
Wow, lots of good feedback here. Thanks! On Aug 9, 6:17 pm, Graham Dumpleton wrote: > Replace use of mod_python with mod_wsgi. I'm using mod_wsgi for everything already, forgot to say. When I researched, it seemed like the newer/better way to do django. > Ensure

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Dj Gilcrease
On Mon, Aug 10, 2009 at 6:43 AM, Graham Dumpleton wrote: > These values for min and max threads are a bit dubious because you > have a single process and that will have fixed 25 threads. Usually > these are defined in multiples of ThreadsPerChild and not less like >

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Graham Dumpleton
On Aug 10, 8:44 pm, Dj Gilcrease wrote: > On Sun, Aug 9, 2009 at 4:17 PM, Graham > > Dumpleton wrote: > > On Aug 10, 6:07 am, Jumpfroggy wrote: > >> I'm hosting a bunch of django apps on a shared host with 80MB of >

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-10 Thread Dj Gilcrease
On Sun, Aug 9, 2009 at 4:17 PM, Graham Dumpleton wrote: > On Aug 10, 6:07 am, Jumpfroggy wrote: >> I'm hosting a bunch of django apps on a shared host with 80MB of >> application memory (Webfaction in this case).  I've got a bunch of >> apps

Re: How do I minimize memory usage with WSGI and Apache?

2009-08-09 Thread Graham Dumpleton
On Aug 10, 6:07 am, Jumpfroggy wrote: > I'm hosting a bunch of django apps on a shared host with 80MB of > application memory (Webfaction in this case).  I've got a bunch of > apps that are very infrequently used, but need to be online.  I've > already changed the