If you are both using mod_wsgi 3.1, can you instead try mod_wsgi 2.8. There were changes to how threads were managed on daemon process side in mod_wsgi 3.1 and want to eliminate that as a cause.
Thanks. Graham 2010/1/15 Giel van Schijndel <[email protected]>: > Hi, > > On 14 jan, 00:27, mog <[email protected]> wrote: >> On 13/01/2010 21:47, Graham Dumpleton wrote: >>> By removing WSGIProcessGroup you are no longer running your >>> application in daemon mode, but instead are using embedded mode. Since >>> this particular issue that is affecting you only affects daemon mode, >>> switching to embedded mode will as a result make it go away. >> >> Oh bugger. Yeah, so the reason it started working in the first place, >> was because removing 'WSGIProcessGroup' was telling it to revert back to >> embedded mode. That's really frustrating, heh :| > > I seem to have the exact same problem on a FreeBSD system as well. It > runs well in embedded mode but just times out in daemon mode. > > Except for the timestamps my logs are almost exactly the same to > mog's, > thus I won't quote them here right away (unless you'd want me to). > >>> So, at least so you can move forward try with embedded mode, but I may >>> keep quizzing you about things so can work out why daemon mode isn't >>> working on FreeBSD. >> >> Yeah I'll do that, I need to crack on with the new project and make some >> progress with migrating the old ones. That's no problem, if I can help >> or provide more info that will assist with solving the issue, I'll >> certainly do what I can. I'd still like to be able to use daemon mode >> one day :) >> >>> BTW, can you supply me the output from running: >> >>> httpd -V > > Thus I'm subscribing as another tester should you need one. > > Version data: >> [g...@hyde:mgt/htdocs]$ uname -a >> FreeBSD hyde.il.fontys.nl 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jun 12 >> 00:01:27 CEST 2009 [email protected]:/usr/obj/usr/src/sys/HYDE i386 >> [g...@hyde:mgt/htdocs]$ httpd -V >> Server version: Apache/2.2.13 (FreeBSD) >> Server built: Sep 9 2009 00:15:52 >> Server's Module Magic Number: 20051115:23 >> Server loaded: APR 1.3.8, APR-Util 1.3.9 >> Compiled using: APR 1.3.8, APR-Util 1.3.9 >> Architecture: 32-bit >> Server MPM: Prefork >> threaded: no >> forked: yes (variable process count) >> Server compiled with.... >> -D APACHE_MPM_DIR="server/mpm/prefork" >> -D APR_HAS_SENDFILE >> -D APR_HAS_MMAP >> -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) >> -D APR_USE_FLOCK_SERIALIZE >> -D APR_USE_PTHREAD_SERIALIZE >> -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT >> -D APR_HAS_OTHER_CHILD >> -D AP_HAVE_RELIABLE_PIPED_LOGS >> -D DYNAMIC_MODULE_LIMIT=128 >> -D HTTPD_ROOT="/usr/local" >> -D SUEXEC_BIN="/usr/local/sbin/suexec" >> -D DEFAULT_PIDLOG="/var/run/httpd.pid" >> -D DEFAULT_SCOREBOARD="/var/run/apache_runtime_status" >> -D DEFAULT_LOCKFILE="/var/run/accept.lock" >> -D DEFAULT_ERRORLOG="/var/log/httpd-error.log" >> -D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types" >> -D SERVER_CONFIG_FILE="etc/apache22/httpd.conf" > > -- > With kind regards, > Giel van Schijndel > - Interlink <www.il.fontys.nl> > > -- > 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. > > > >
-- 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.
