Michel Jouvin wrote .. > Hi, > > I recently installed mod_python 3.2b5 on Apache 2.0.54. I am running with > problems if httpd slave process segfaults or is killed. In this case, > master process restart the max number of processes/threads. We are running > Apache with the MPM worker (on Tru64 platform). > > This behaviour appears only if mod_python is loaded into Apache. this > doesn't seem to be related to mod_python usage : this can happen if you > load mod_python even if no URL is configured to use it. You can easily > reproduce the problem by doing 'kill -KILL' of an Apache slave process. > > Is it a known issue ? Are they any workaround ?
What settings do you have in Apache config for: <IfModule worker.c> #StartServers 2 StartServers 1 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25 MaxRequestsPerChild 0 </IfModule> Can you then relate your problem to your configuration with actual numbers? Note that with "worker" configuration, there isn't generally a MaxSpareServers or MinSpareServers setting as I understand, that is for prefork only. <IfModule prefork.c> StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 </IfModule> So not sure when you say that it creates maximum number of processes what you are exactly talking about. I might expect it to create number of processes as specified by StartServers. Thus, can you please clarify. Graham
