HTTP socket accept fails too much

HTTP socket accept fails too much

Post by John Y » Mon, 22 Apr 1996 04:00:00



I am running an apache http server and getting fairly high amount of  
traffic.  I get these messages a lot in the error logs:

[Fri Apr 19 17:14:17 1996] socket error: accept failed
[Fri Apr 19 17:14:17 1996] socket error: accept failed
[Fri Apr 19 17:14:17 1996] socket error: accept failed
[Fri Apr 19 17:14:20 1996] socket error: accept failed

Anyone have any suspicions as to what it might be?

John

 
 
 

HTTP socket accept fails too much

Post by Andy Chur » Tue, 23 Apr 1996 04:00:00




>I am running an apache http server and getting fairly high amount of  
>traffic.  I get these messages a lot in the error logs:

>[Fri Apr 19 17:14:17 1996] socket error: accept failed
>[Fri Apr 19 17:14:17 1996] socket error: accept failed
>[Fri Apr 19 17:14:17 1996] socket error: accept failed
>[Fri Apr 19 17:14:20 1996] socket error: accept failed

  More than likely, you're seeing "Connection reset by peer" messages.
(Why httpd doesn't include strerror() in the output, I have no idea; I
patched Apache myself to have it do that.)  Those messages are harmless, as
they just indicate that the remote side closed the connection before the
accept() call completed.  Although why you'd see them at such a high rate
I'm not sure...


    WWW: http://www.dragonfire.net/~achurch/