Logs show the segmentation faults I speak of: [Wed Dec 08 11:32:47 2010] [error] [client 82.231.115.1] Premature end of script headers: demo.wsgi, referer: http://example.com/employees/ [Wed Dec 08 11:32:47 2010] [notice] child pid 22620 exit signal Segmentation fault (11)
Attach gdb to daemon process as described in: http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB enter 'cont' command so runs again and then keep firing off requests until it crashes. Suggest removing maximum-requests during that time so that process isn't restarted because of that number being exceeded. In other words, debug why process is crashing. For ideas of why, see: http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions#Apache_Process_Crashes http://code.google.com/p/modwsgi/wiki/ApplicationIssues Graham On 8 December 2010 21:37, Stéphane Klein <[email protected]> wrote: > Le 08/12/2010 11:21, Stéphane Klein a écrit : >> >> Le 08/12/2010 10:54, Graham Dumpleton a écrit : >>> >>> On 8 December 2010 20:37, Stéphane Klein<[email protected]> wrote: >>>> >>>> Hi, >>>> >>>> I use Pylons 1.0 Framework and mod_wsgi on production server. >>>> >>>> I can use my application but randomly 1 request on 10 I've error : >>>> >>>> "Internal Server Error" in browser and in error log file : >>>> >>>> [client 82.231.115.1] Premature end of script headers: demo.wsgi, >>>> referer: >>>> http://example.com/ >>> >>> Need to see the error messages before and after this and for matching >>> time in main Apache error log if you are using a virtual host specific >>> error log. >>> >>> This message will arise in a few circumstances. >>> >> >> This is more information messages : >> >> http://pastebin.com/myi5D5Xn > > Well, I see the last message of this thread : > http://groups.google.com/group/modwsgi/browse_thread/thread/ba82b2643564d2dd > > He say : > > """Last night we installed mod_wsgi 3.3, and the KeyErrors have totally > disappeared. I highly recommend the 3.3 upgrade if you're having this > problem. Thanks, Graham.""" > > In my test, I've tested mod_wsgi 3.3 and 2.8 > In last log message, it's 2.8 version. > > Now I've reinstalled 3.3 version, this is the new log messages : > > http://pastebin.com/kKztWiCY > > Regards, > Stephane > -- > Stéphane Klein <[email protected]> - French > blog: http://stephane-klein.info > twitter: http://twitter.com/klein_stephane > pro: http://www.is-webdesign.com > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
