[mod_python] Multiple interpreter instances?

Johnathan Gurley johnathan.gurley at gmail.com
Thu Jul 15 14:19:27 EDT 2004


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.

On Thu, 15 Jul 2004 12:12:24 -0400 (EDT), Gregory (Grisha) Trubetskoy
<grisha at modpython.org> wrote:
> 
> 
> On Wed, 14 Jul 2004, Stefan Hudac wrote:
> 
> > I'd like to know if my observations are correct. If yes it means all
> > resources kept in memory are actually unaccessible among Apache forks,
> > therefore multiplicated as many times as there are forks.
> 
> That's pretty much how it is.
> 
> Grisha
> 
> 
> _______________________________________________
> 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