[mod_python] How can I turn off apparent caching of python code?

mike bayer mike_mp at zzzcomputing.com
Tue Aug 24 17:23:07 EDT 2004

> You could also tweek the Apache config so that Apache doesn't run as a
> long-running process, instead make the children restart after handling a
> single request.  Don't recall the exact config option off the top of my
> head, but I know it's there.

this is MaxRequestsPerChild in apache 1.3 at least....  the problem with
bringing it way down is that when some forks have restarted, others have
not, and you get this maddening difference in application behavior with
each hit to the server.  Restart is best.

More information about the Mod_python mailing list