[mod_python] Multiple interpreter instances?

Johnathan Gurley johnathan.gurley at gmail.com
Thu Jul 15 19:30:21 EDT 2004

True, but you can still choose how you wish Apache 2 to be built. 
Some distributions actually package different builds of Apache
2...SuSE for example, maintains different builds at
so, I suppose it all depends on how you build your Apache :)

On Fri, 16 Jul 2004 00:05:24 +0300, Volodya <volodya at real.samuraj.org> wrote:
> On Thu, Jul 15, 2004 at 01:19:27PM -0500, Johnathan Gurley wrote:
> > Correct me if I'm wrong, but fork copies the parent process's memory
> > into the child process's memory, but the child has its own unique
> > stack and heap.  This would make it very difficult to share Python
> > memory between Apache instances, as the Apache instances themselves
> > have separate memory space.
> Apache 2 introduced threaded model. Threads share process's memory.
> With Mod_python 3.x and Apache 2.x you can share  global variables per
> Apache's virtual server for example. And it seems threads work fine on
> Linux, Windows and FreeBSD 5.x (but not FreeBSD 4.x).
> _______________________________________________
> 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