Mod_wsgi and Django app periodically hang?

That should be 'application-group=%{GLOBAL}' for WSGIDaemonProcess options, not '%{GROUP}'. The '%{GLOBAL}' is special and means the main Python interpreter. Using the main interpreter often gets around problems with third party C extension modules for Python which don't work in sub interpreters, including experiencing deadlocks.

The '%{GROUP}' value is only relevant to the 'display-name' option.

Thanks for your reply. I've made that change, stopped and started apache, deleted all the *. Pyc files just to be on the safe side, but the problem is still happening.

I'm looking in the django admin area and this is happening, so while it's possible it could be a C extension, I don't know if that's likely (I don't know how the Python interpreter works internally re loading modules). The page loads after say 2-3 minutes when this happens (but I don't know if that's just Chromium reissuing the request). – john Feb 12 at 8:29 Have you tried a different browser to make sure it isn't the browser?

Can you use worker MPM for Apache rather than prefork, or are you stuck with that because of using PHP in same Apache? Finally, try gdb techniques described in 'code.google. Com/p/modwsgi/wiki/…; so try and get stack traces out of all threads in daemon process so can work out where it is hanging.

BTW, StackOverflow is not a good place to debugging, use the mod_wsgi mailing list instead. – Graham Dumpleton Feb 12 at 8:36 Actually, I think that the problem might be fixed now, and that there is another problem with Chromium. If I view the page source it's all there, so it seems that for some reason Chromium isn't rendering the page.

The site seems fine in Firefox, so I'll keep an eye on it. Thanks a lot. – john Feb 12 at 8:37.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions