I'm trying to get web2py installed and running w/ WSGI on an Ubuntu
Intrepid
virtual server.  Apache by itself was working just fine.  After
installing WSGI and
setting up web2py using these instructions:

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

it seems that I can never start fewer than 8 apache2 processes, each
with
185mb of virtual memory.  As my virtual server only has 1gb of RAM
this
proves problematic.  I'm not sure how the Ubuntu Apache server is
built, but
I defined both the mpm_prefork and mpm_worker setups to define as few
processes as possible:

<IfModule mpm_prefork_module>
    StartServers          1
    MinSpareServers       1
    MaxSpareServers       2
    MaxClients          150
    MaxRequestsPerChild   0
</IfModule>

<IfModule mpm_worker_module>
    StartServers          1
    MaxClients          150
    MinSpareThreads      25
    MaxSpareThreads      75
    ThreadsPerChild      25
    MaxRequestsPerChild   0
</IfModule>

I'm confused about the huge memory use and the large number of
processes started.  Does any of this have to do with WSGI or web2py?

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 web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to