2009/2/16 gert <[email protected]>: > > On Feb 15, 11:04 pm, Graham Dumpleton <[email protected]> > wrote: >> 2009/2/16 gert <[email protected]>: >> >> >> > [Sun Feb 15 22:39:22 2009] [info] mod_wsgi (pid=9850): Destroy >> > interpreter '127.0.0.1|/appwsgi/www/order/order.wsgi'. >> > [Sun Feb 15 22:39:22 2009] [info] mod_wsgi (pid=9850): Destroy >> > interpreter '127.0.0.1|/appwsgi/www/query/query.wsgi'. >> > [Sun Feb 15 22:39:22 2009] [info] mod_wsgi (pid=9850): Cleanup >> > interpreter ''. >> > [Sun Feb 15 22:39:22 2009] [info] mod_wsgi (pid=9850): Terminating >> > Python. >> > [Sun Feb 15 22:39:23 2009] [notice] child pid 9850 exit signal >> > Segmentation fault (11) >> >> > some reloading bug ? >> > very hard to reproduce >> >> What do you mean by reloading bug? >> >> Is this from touching the WSGI script file, or from executing >> 'apachectl'? If the latter, what argument. >> >> If from touching WSGI script, thus using daemon mode, then attach gdb >> to process as per debugging instructions in wiki and try and capture >> stack trace. >> >> BTW, since you are playing with multiple versions of Python and of >> mod_wsgi, state which versions. >> > > not touching apachectl > embedded mode (http://code.google.com/p/appwsgi/source/browse/trunk/ > httpd.conf) > mod r1200 py3 apache 2.2.11 > > doing the wiki stuff, the thing is, it does not crash on my command > only when there are a BUNCH of processes who needs to get updated.
You must be using apachectl. Alternatively, you must have MaxRequestsPerChild set for MPM such that child server processes restarted on periodic basis. Merely editing the WSGI script file will not trigger a child server process shutdown and so you wouldn't see an attempt to terminate Python. So, do you have MaxRequestsPerChild set then? Graham --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
