On 10 November 2012 07:54, miso <[email protected]> wrote: > Hello everyone > > I have a question about embeded mode operation. I thought that for every > request, a new process is started.. > After seeing strange behavior in my code, I realized that the processes do > not die, remain active. > When I make a request to the server, such request fall somewhere above > process with already instantiated objects. Objects of previous request. > > > This is normal? Thanks
A process is not created per requests. A single process can handle more than one request, all handled within same sub interpreter for that application. For embedded mode on UNIX systems there would generally be more than one process. In other words, once a process/sub interpreter/application are setup, they are kept around as long as possible. Under embedded mode Apache may itself decided to kill off or create more processes as it deems necessary to handle the current throughput. More details can be found in: http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading Graham -- You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en.
