Django processes under Apache

2009-02-22 Thread stevedegrace
I don't think I'm understanding this very well. By doing some inspection, I see that Apache is running under two PIDs, which makes sense because ServerLimit right now is set to 2. What I'm wondering is, does each of those processes have a persistent instance of Django in its own python process wai

Re: Django processes under Apache

2009-02-22 Thread Stephen DeGrace
Based on my experiments, it does seem like each Apache process maintains a live Django object which it reuses request after request and which maintains state such as global variables in modules between requests. Does that mean that a Django instance has some kind of loop in it that waits for reques

Re: Django processes under Apache

2009-02-22 Thread Ryan Kelly
> Based on my experiments, it does seem like each Apache process > maintains a live Django object which it reuses request after request > and which maintains state such as global variables in modules between > requests. Does that mean that a Django instance has some kind of loop > in it that waits

Re: Django processes under Apache

2009-02-22 Thread Graham Dumpleton
On Feb 23, 1:29 am, stevedegrace wrote: > I don't think I'm understanding this very well. By doing some > inspection, I see that Apache is running under two PIDs, which makes > sense because ServerLimit right now is set to 2. What I'm wondering > is, does each of those processes have a persiste