[mod_python] ioerrors with worker thread mpm

Graham Dumpleton graham.dumpleton at gmail.com
Wed Dec 10 22:19:57 EST 2008


Blocking i/o operations against what? Sockets you have created off to
something else????

2008/12/11 Michael Barton <mike at weirdlooking.com>:
> 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
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python
>


More information about the Mod_python mailing list