[mod_python] Is it possible to not reuse interpreters?

Nick nick at dd.revealed.net
Mon Jun 13 09:46:49 EDT 2005

Bart wrote:
> Apologies if this has been asked and answered before, 
> but is there any way to make apache/mod_python
> temporarily *not* reuse the same interpreter? 
> Google wasn't too helpful on the matter other
> than providing the reasons.

During development I sometimes find it helpful to use the prefork MPM for 
apache2, and set the MaxRequestsPerChild to 1.  That will force a new 
server, and therefore Python interpreter, to be spawned for each request.


More information about the Mod_python mailing list