httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dustin Tenney <DTen...@mltvacations.com>
Subject [users@httpd] apache hanging
Date Mon, 28 Oct 2002 21:08:20 GMT
Hi,

I am having some problems with apache 2.0.43.  It stops responding real
sporadically.  The higher the load on the server the more often it happens.

Environment:

Sun V880 w/Solaris 8
Apache 2.0.43
Openssl 0.9.6g
Resin 2.1.4


Apache Modules
  core.c
  mod_log_config.c
  mod_setenvif.c
  mod_ssl.c
  worker.c
  http_core.c
  mod_mime.c
  mod_autoindex.c
  mod_cgid.c
  mod_dir.c
  mod_alias.c
  mod_so.c


I have tried both with prefork and worker mpm and they both act identically.
After some time you can connect to the port 80, but any requests time out.
This includes any requests outside of our java application.  Even a request
of a simple html file or image time out.

When I do a truss on the process I get this:

1.1589 waitid(P_ALL, 0, 0xFFBEFA98, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
 2.1686 poll(0xFFBEFB00, 0, 1000)                       = 0
 2.1691 waitid(P_ALL, 0, 0xFFBEFA98, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
 3.1786 poll(0xFFBEFB00, 0, 1000)                       = 0
 3.1892 waitid(P_ALL, 0, 0xFFBEFA98, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
 4.1986 poll(0xFFBEFB00, 0, 1000)                       = 0
 4.1990 waitid(P_ALL, 0, 0xFFBEFA98, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
 5.2086 poll(0xFFBEFB00, 0, 1000)                       = 0
 5.2091 waitid(P_ALL, 0, 0xFFBEFA98, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
 6.2186 poll(0xFFBEFB00, 0, 1000)                       = 0
 6.2189 waitid(P_ALL, 0, 0xFFBEFA98, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
 7.2286 poll(0xFFBEFB00, 0, 1000)                       = 0
 7.2290 waitid(P_ALL, 0, 0xFFBEFA98, WEXITED|WTRAPPED|WSTOPPED|WNOHANG) = 0
 8.2386 poll(0xFFBEFB00, 0, 1000)                       = 0


What is apache waiting for?  Anyone seen this or have any ideas?  What is my
next best step for debugging this?  Is there any way to get more information
from Apache on what is going on?  After this happens the only way I can fix
it is by sending a "kill -9" and restarting apache.

I also have this running on a Sun e450 with Solaris 7 and have seen the
exact same problem under heavy load.  Seems to be triggered more often on
the V880s though.  It is real random also.  It could be fine for days, then
once it happens it will occur over and over then stop.  Real strange - Any
help would be great!

Dustin Tenney 

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