[mod_python] Re: forks, daemons and other beasts

Graham Dumpleton grahamd at dscpl.com.au
Sat Feb 11 20:31:27 EST 2006


On 12/02/2006, at 12:26 PM, Daniel Nogradi wrote:

> Oh, I just remembered that I set MaxRequestsPerChild 1 for apache in
> order to avoid the famous import/reload problem and that was the
> reason the thread died after the request was served. Now that I put it
> back to some higher value it doesn't die and does exactly what I want
> using thread.start_new_thread.
>
> By the way, what's the problem with thread as opposed to threading?

Encapsulation of features in "threading" is simply better and easier to
work with.

Graham


More information about the Mod_python mailing list