You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Mishra, Pawan" <Pa...@FMR.COM> on 2005/09/13 19:14:40 UTC

[users@httpd] Httpd processes are not dying

Hi Joshua,

I am not sure you remember the problem I stated last time so I am
listing it here again. You had asked me to run mod_status. I have
attached the output of the mod_status too.

Problem: The httpd processes keep getting accumulated in the memory and
are not dying timely as expected. This happens even when there is no use
of the application for hours. There are times when we see more that 70
such processes even when application has not been used for 6-7 hours.
Since these processes donot dye in timely manner, they keep getting
accumulated till the MaxClient limit is reached and at that point I.H.S.
stops responding and thus site becomes down. We then need to restart the
I.H.S. server. We have been experiencing this problem since we migrated
to WAS 5.0.2 / I.H.S. 1.3.26.2 combination.

Following are some of the parameters in the httpd.conf file that you
would like to know -

Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 1
MaxSpareServers 5
StartServers 1
MaxClients 300
MaxRequestsPerChild 0

==========output of the mod_status =====================

Current Time: Tuesday, 13-Sep-2005 11:26:04 EDT
Restart Time: Sunday, 11-Sep-2005 02:24:38 EDT
Parent Server Generation: 0 
Server uptime: 2 days 9 hours 1 minute 26 seconds
1 requests currently being processed, 57 idle servers 
_______________________________W__________________________......
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................
................................................................

Scoreboard Key: 
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"L" Logging, "G" Gracefully finishing, "." Open slot with no current
process

PID Key: 


   19972 in state: _ ,   69642 in state: _ ,   94152 in state: _ 
   159652 in state: _ ,   172316 in state: _ ,   77052 in state: _ 
   151708 in state: _ ,   50758 in state: _ ,   104702 in state: _ 
   157318 in state: _ ,   143690 in state: _ ,   109128 in state: _ 
   84380 in state: _ ,   27462 in state: _ ,   106204 in state: _ 
   170624 in state: _ ,   161496 in state: _ ,   176190 in state: _ 
   57200 in state: _ ,   213774 in state: _ ,   49488 in state: _ 
   28340 in state: _ ,   101816 in state: _ ,   107496 in state: _ 
   43352 in state: _ ,   59180 in state: _ ,   122486 in state: _ 
   83326 in state: _ ,   93660 in state: _ ,   168358 in state: _ 
   113868 in state: _ ,   168926 in state: W ,   29210 in state: _ 
   110248 in state: _ ,   72730 in state: _ ,   95176 in state: _ 
   175118 in state: _ ,   209070 in state: _ ,   214254 in state: _ 
   162294 in state: _ ,   98460 in state: _ ,   114494 in state: _ 
   70688 in state: _ ,   22722 in state: _ ,   131592 in state: _ 
   142580 in state: _ ,   125746 in state: _ ,   59776 in state: _ 
   166792 in state: _ ,   117284 in state: _ ,   201148 in state: _ 
   133420 in state: _ ,   65854 in state: _ ,   200116 in state: _ 
   158392 in state: _ ,   47286 in state: _ ,   156884 in state: _ 
   130534 in state: _ ,

---------------------------------------------------------------------
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


Re: [users@httpd] Httpd processes are not dying

Posted by Joshua Slive <js...@gmail.com>.
On 9/13/05, Mishra, Pawan <Pa...@fmr.com> wrote:
> Hi Joshua,
> 
> I am not sure you remember the problem I stated last time so I am
> listing it here again. You had asked me to run mod_status. I have
> attached the output of the mod_status too.
> 
> Problem: The httpd processes keep getting accumulated in the memory and
> are not dying timely as expected. This happens even when there is no use
> of the application for hours. There are times when we see more that 70
> such processes even when application has not been used for 6-7 hours.
> Since these processes donot dye in timely manner, they keep getting
> accumulated till the MaxClient limit is reached and at that point I.H.S.
> stops responding and thus site becomes down. We then need to restart the
> I.H.S. server. We have been experiencing this problem since we migrated
> to WAS 5.0.2 / I.H.S. 1.3.26.2 combination.

Well, the server-status looks completely normal except that
MaxSpareServers is not being honored.  So the first thing I'd do is
triple-check that you are editting the correct config-file, and that
MaxSpareServers occurs only once in that config.

Other than that, I'd really suggest reporting this to IBM, since it
appears you are using an IBM-modified version of the server.

Joshua.

---------------------------------------------------------------------
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