Thanks!

> Are the right number of mod_wsgi daemon process still visible in 'ps' output?

I'll check on this next time it locks up.

> If you have only single Django instance per daemon process group, then
> force them to run in the main interpreter rather than a sub
> interpreter of the process. This will eliminate problems caused by
> third party extension modules for Python which don't handle threading
> in sub interpreters properly. You can force use of main interpreter by
> adding:
>
>   WSGIApplicationGroup %{GLOBAL}

Cool, we'll try this setting today and see how it goes.

> I cant suggest anything else with knowing what Apache MPM you are
> using and what MPM settings are, what you have KeepAlive and Timeout
> set to in Apache.

We are using prefork.  Following are the relevant settings:

Timeout 300
KeepAlive Off
<IfModule mpm_prefork_module>
    StartServers          3
    MinSpareServers       5
    MaxSpareServers       10
    MaxClients            30
    MaxRequestsPerChild   2500
</IfModule>

> BTW, are you using same Apache to serve static media files?

No, static files are being served by nginx before the requests get to
apache.

-- 
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