(I posted this a few hours ago but after checking a couple times never
saw it.  Sorry if this is a
duplicate.)

I have an Ubuntu Intrepid virtual server (1gb RAM, 50gb disk).  I
installed web2py today and
followed the directions here to run it behind Apache using wsgi:

    
http://jdoe.asidev.com/2009/02/26/configure-web2py-to-run-behind-apache-with-wsgi-mod_wsgi/

Alas, memory use zoomed out of control.  I squashed the number of pre-
forked servers or workers
as far down as I could but it seemed to always start eight servers
each w/ 185mb of virtual
memory.  I eventually gave up and executed "a2dissite web2py ; /etc/
init.d/apache2 reload".  Now
I have plenty of free memory and a minimal number of apache2
instances.  In addition, the virtual
memory sizes of the three running apache2 processes are more
reasonable (about 15mb each).

Can I have my cake and eat it too (reasonable memory usage while
running web2py via WSGI)?

Thanks,

Skip Montanaro


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to