httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Renake" <anandren...@coolgoose.com>
Subject [users@httpd] Many httpd processes
Date Sat, 28 Feb 2004 05:14:59 GMT
Hi, 
I have compiled and installed httpd version 2.0.48 on a server and every 
morning i see many httpd processes. These processes take CPU equal 
percentage among themselves and make the processor 100% busy. Thus slowing 
down the server. When i stop and start the server these processes go away. 
This happens every morning and otherwise the webserver works fine. Is there 
a way to automatically kill/stop theseunwanted processes? How to do this 
from the configuration file? 
I have the following settings and errors: 
// 
<IfModule prefork.c> 
StartServers 5 
MinSpareServers 5 
MaxSpareServers 10 
MaxClients       150 
MaxRequestsPerChild 100 
</IfModule> 
<IfModule worker.c> 
StartServers         2 
MaxClients         150 
MinSpareThreads     25 
MaxSpareThreads     75 
ThreadsPerChild     25 
MaxRequestsPerChild  0 
</IfModule> 
<IfModule perchild.c> 
NumServers           5 
StartThreads         5 
MinSpareThreads      5 
MaxSpareThreads     10 
MaxThreadsPerChild  20 
MaxRequestsPerChild  0 
</IfModule> 
\\ 
>From error.log(many such errors/warnings about child processes during 
service httpd restart): 
// 
[Fri Feb 27 08:03:07 2004] [warn] child process 20944 still did not exit, 
sending a SIGTERM 
[Fri Feb 27 08:03:07 2004] [warn] child process 20974 still did not exit, 
sending a SIGTERM 
[Fri Feb 27 08:03:07 2004] [warn] child process 21051 still did not exit, 
sending a SIGTERM 
[Fri Feb 27 08:03:08 2004] [notice] caught SIGTERM, shutting down 
[Fri Feb 27 08:03:34 2004] [notice] Digest: generating secret for digest 
authentication ... 
[Fri Feb 27 08:03:34 2004] [notice] Digest: done 
[Fri Feb 27 08:03:35 2004] [notice] Apache/2.0.48 (Unix) configured 
--resuming normal operations 
\\ 
Also there are total 25 such processes. Have i done any misconfiguration? I 
have also tried recompilation but it did not help. I used "./configure 
--enable-mods-shared=all --enable-ssl". I have compiled this version on 
other machines but such error never occurred. 
Any suggestions will help :). 
Thank you. 
-- Anand. 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message