Hi,

I've setup my server using mod_wsgi in deamon mode and apache and
everything worked well but I'm having some trouble with memory
consumption. Each site is running under his own user and takes a
pretty big amount of memory because is uses python and django. Now
I've looked into memory consumption and i have each user (site-x
format) running 18 processes on linux, each of them taking some
memory. My setup looks like this:
...
 WSGIDaemonProcess site-195 user=site-195 group=nobody inactivity-
timeout=172800
    WSGIDaemonProcess site-196 user=site-196 group=nobody inactivity-
timeout=172800
    WSGIDaemonProcess site-197 user=site-197 group=nobody inactivity-
timeout=172800
    WSGIDaemonProcess site-198 user=site-198 group=nobody inactivity-
timeout=172800
...
WSGIProcessGroup %{ENV:PROCESS_GROUP}
    WSGIApplicationGroup %{GLOBAL}
    WSGISocketPrefix /var/run/wsgi
....
Now each site has only a few users at the moment so i don't know why
it should take so many processes.

Could someone please explain how this works to me, because i need to
understand and see what can be done about it.

Thanks,
Virgil Balibanu

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" 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/modwsgi?hl=en.

Reply via email to