You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/11/26 21:08:51 UTC
DO NOT REPLY [Bug 43966] New: - internal dummy connections blocking httpd
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43966>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43966
Summary: internal dummy connections blocking httpd
Product: Apache httpd-2
Version: 2.2.6
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: All
AssignedTo: bugs@httpd.apache.org
ReportedBy: max.flebus@it.easynet.net
We have apache freezing with internal dummy connections (on https default
vhost) apparently closing down forever.
Using mod_status I get
__C_CKCC__CWCCWC__C__KCC_CC_CC____C__K__W____C__CCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
[...]
CCCCCCCCCCCCCCCCCCCCCCCCCCCW_CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
That means that most of the processes are "C" Closing connection.
[...]
12-1 17525 1/449/2424 C 6.07 1275 0 0.0 8.39 40.93 127.0.0.1 web.xxx.com
GET / HTTP/1.0
13-1 17526 1/237/2215 C 4.65 3507 0 0.0 2.87 29.31 127.0.0.1 web.xxx.com
GET / HTTP/1.0
If I do strace a process, for example 17526 I see that is reading from a socket
# strace -p 17526
Process 17526 attached - interrupt to quit
read(356, <unfinished ...>^C
Process 19023 detached
and if I use lsof -p 17526 to see what is fd 356 I get:
apache2 17526 apache 356r FIFO 0,6 82466795 pipe
When every process is in status "C" the server no longer responds, and doing
graceful or restart gets even worse for load rockets high and machine gets
unstable.
I've found a workaround: writing rubbish in the pipe (eg: cat /etc/passwd
> /proc/17526/fd/356 frees all the children and resumes the apache), but
that's not a solution :)
HTTPD:
Server version: Apache/2.2.6 (Unix)
Server built: Nov 20 2007 22:05:17
Server's Module Magic Number: 20051115:5
Server loaded: APR 1.2.11, APR-Util 1.2.10
Compiled using: APR 1.2.11, APR-Util 1.2.10
Architecture: 64-bit
Server MPM: Prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
-D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf"
running this way:
/usr/sbin/apache2 -D DEFAULT_VHOST -D PHP5 -D SSL -D INFO -d /usr/lib/apache2 -
f /etc/apache2/httpd.conf -k start
Thanks in advance for any help.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 43966] - internal dummy connections blocking httpd
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43966>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=43966
max.flebus@it.easynet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |critical
Priority|P2 |P1
Platform|Other |PC
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org