You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rania Fakhoury <ra...@cyberia.net.lb> on 1997/06/17 14:20:01 UTC
os-linux/745: Sometimes the httpd stops repsonding (process httpd floods the cpu)
>Number: 745
>Category: os-linux
>Synopsis: Sometimes the httpd stops repsonding (process httpd floods the cpu)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache (Apache HTTP Project)
>State: open
>Class: support
>Submitter-Id: apache
>Arrival-Date: Tue Jun 17 05:20:01 1997
>Originator: raniaf@cyberia.net.lb
>Organization:
apache
>Release: 1.1
>Environment:
Linux moon 2.0.30 with 256 MBRAM
Compiler cc
>Description:
Sometimes the httpd stops repsonding (process httpd floods the cpu)
Error in :
[Tue Jun 17 20:13:12 1997] - socket error: accept failed
[Tue Jun 17 20:15:06 1997] accept: Connection reset by peer
[Tue Jun 17 20:15:06 1997] - socket error: accept failed
[Tue Jun 17 20:15:06 1997] accept: Connection reset by peer
[Tue Jun 17 20:15:06 1997] - socket error: accept failed
[Tue Jun 17 20:15:06 1997] accept: Connection reset by peer
[Tue Jun 17 20:15:06 1997] - socket error: accept failed
bind: Address already in use
bind: Address already in use
bind: Address already in use
>How-To-Repeat:
We have a server heavy used by apache and squid . I overload the server.
>Fix:
I saw that the pb is the listen queue in Linux and that we must undefined FCNTL_SERiALIZED_ACCEPT or increase the NR_OPEN and NR_FILE but I have already 3000 for NR_OPEN and 1024 for NR_FILE.
Some said that we must compile with USE_FCNTL_SERiALIZED_ACCEPT
In fact, I am not sure about this solution.
>Audit-Trail:
>Unformatted: