Apache Server Process Hanging in "Sending Reply" Phase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've searched bugzilla but didn't see anything like this. I've got RH's
apache 2.0 server running, pushing static HTML pages and one perl CGI
program. What happens is that httpd processes apparently get hung in the
"Sending Reply" phase. This causes the master httpd process to keep
spawning sub-processes until it hits 152 processes (two more than the
config file MaxClient limit of 150). It then stops serving any data at
all.

/etc/init.d/httpd fullstatus before reaching the 150 limit gives the
following scoreboard:

                      Apache Server Status for localhost
 
   Server Version: Apache/2.0.40 (Red Hat Linux)
   Server Built: Apr 7 2003 09:19:34
     _________________________________________________________________
 
   Current Time: Friday, 09-May-2003 10:15:12 EDT
   Restart Time: Thursday, 08-May-2003 22:18:13 EDT
   Parent Server Generation: 0
   Server uptime: 11 hours 56 minutes 59 seconds
   Total accesses: 75 - Total Traffic: 271 kB
   CPU Usage: u.28 s.28 cu.03 cs.04 - .00146% CPU load
   .00174 requests/sec - 6 B/second - 3700 B/request
   126 requests currently being processed, 9 idle workers
 
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW
WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW_W_
_______.........................................................
................................................................
 
   Scoreboard Key:
   "_" Waiting for Connection, "S" Starting up, "R" Reading Request,
   "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
   "C" Closing connection, "L" Logging, "G" Gracefully finishing,
   "I" Idle cleanup of worker, "." Open slot with no current process
 

After that it lists all the busy processes and what they are sending. In
my case, it's all different types of files including jpgs and html
files. It's not any one file, it's not the single CGI program, it's
basically everything.

This site worked fine with Apache 1.3.X. I tried switching to the
'worker' version and although that version doesn't spawn a bunch of
processes, it still reports stuck processes like the normal version.

Any ideas before I open a bug on this? 

Thanks,

tjb
-- 
=======================================================================
| Thomas Baker                                  email: tjb@xxxxxxx    |
| Systems Programmer                                                  |
| Research Computing Center                     voice: (603) 862-4490 |
| University of New Hampshire                     fax: (603) 862-1761 |
| 332 Morse Hall                                                      |
| Durham, NH 03824 USA              http://wintermute.sr.unh.edu/~tjb |
=======================================================================

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux