[mod_python] ioerrors with worker thread mpm

Michael Barton mike at weirdlooking.com
Wed Dec 10 21:52:27 EST 2008


Hey list!

I'm having a problem adapting a mod_python-based app to work with
Apache's worker thread mpm.

When the process hits MaxRequestsPerChild under a high concurrency of
requests, blocking i/o operations in other threads on that child raise
exceptions (mostly EINTR or EAGAIN IOErrors in httplib).

It looks like system calls are being interrupted by signals Apache
uses to control its children.  But that seems like a problem that
would have come up before, and I can't find much by searching the web
or list archives.

I figured I'd punt to the list and see if anyone has other thoughts.

My setup is: debian, apache 2.2.3, mod_python 3.3.1, python 2.4.4

--Mike


More information about the Mod_python mailing list