httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Guth <PG...@grandcentral.com>
Subject httpd stuck in recv() loop
Date Sat, 02 Feb 2002 01:42:46 GMT
We have a pair of apache boxes that periodically get individual httpd
processes stuck in what appears to be a recv() loop.  Here's a snippet from
strace:

recv(20, "", 8192, 0)                   = 0
recv(20, "", 8192, 0)                   = 0
recv(20, "", 8192, 0)                   = 0
recv(20, "", 8192, 0)                   = 0
recv(20, "", 8192, 0)                   = 0
recv(20, "", 8192, 0)                   = 0
recv(20, "", 8192, 0)                   = 0
recv(20, "", 8192, 0)                   = 0

This fills the screen as fast as my terminal can write to it.

This is apache 1.3.14 running on Linux (2.2.14).  Here's what apache spits
out:

Server: Apache/1.3.14 (Unix) mod_jk mod_ssl/2.7.1 OpenSSL/0.9.6
Location: <censored>
Content-Length: 172
Servlet-Engine: Tomcat Web Server/3.2.3 (JSP 1.1; Servlet 2.2; Java 1.3.0;
Linux 2.2.14-6.1.1smp x86; java.vendor=IBM Corporation)

tomcat may be involved but it's the httpd process that hogs all the CPU,
although apache still seems responsive.  Eventually other httpds will join
in and start splitting the CPU.  It goes away on restart or if I kill the
individual offending httpds.  Also these boxes are hardly getting any
traffic right now, mostly just heartbeat tests from the loadbalancer....

Anyone have any ideas what's going on?

---------------------------------------------------------------------
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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message