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 2012/03/09 13:44:32 UTC
DO NOT REPLY [Bug 52872] New: httpd Process 100% CPU ENAMETOOLONG
https://issues.apache.org/bugzilla/show_bug.cgi?id=52872
Bug #: 52872
Summary: httpd Process 100% CPU ENAMETOOLONG
Product: Apache httpd-2
Version: 2.2.22
Platform: PC
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: mpm_worker
AssignedTo: bugs@httpd.apache.org
ReportedBy: d.neumann@uni.leuphana.de
Classification: Unclassified
uname -a
SunOS www 5.10 Generic_147441-10 i86pc i386 i86pc
Random Apache processes stops responding and consume 100% CPU. Other processes
work as expected.
Munin visualisation
http://img196.imageshack.us/img196/3116/cpuday.png
A truss, gives this looping output:
truss -p <pid>
access("../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../
../../../../../../../../../../../.",
F_OK) Err#78 ENAMETOOLONG
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52872] httpd Process 100% CPU ENAMETOOLONG
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52872
--- Comment #3 from d.neumann@uni.leuphana.de 2012-03-09 20:20:07 UTC ---
pstack 22593
22593: /srv/apache2_mod_php/bin/httpd -k start
fea1b1c7 access (92090b0, 20ab8a, f, 852dda4, 874eaa0, fceb9ff4) + 7
fc90588b zif_file_exists (1, 852dda4, 0, 0, 1, 874eaa0) + 5b
fc7fcd21 phar_file_exists (1, 852dda4, 0, 0, 1, fc9fbf8c) + 51
fca12831 execute_internal (8881138, 1, c, 80463b8, 874eaa0, b) + 51
fda15fa7 suhosin_execute_internal (8881138, 1, 8046438, fc9cf0ce, fffe0000,
15) + 177
fca17f3f zend_do_fcall_common_helper_SPEC (8881184, 0, 8, 4f55f9a0, 144bfb7f,
46add4d6) + 7cf
fca17682 execute (8529a90, fda1d794, 0, 43434145, 852dc8c, 852dc34) + 1e2
fda1656c suhosin_execute_ex (8529a90, 852a1d9, 2c, 80465d4, 4, 0) + 23c
fc9ee4d0 zend_execute_scripts (8, 0, 3, 8046c5c, 8046ed0, 0) + 60
fc994bd3 php_execute_script (8046ed0, 8874100, fca79df0, 80665d0, 9207fc0,
83e6110) + 1a3
fca7afeb php_handler (8878150, 0, 8046f68, 83ead90, 2, ffffffff) + 5db
08080e29 ap_run_handler (8878150, 3b, 8046fb8, 807bcac, 8878150, 0) + 46
08081592 ap_invoke_handler (8878150, 0, 8046fe8, 80700d3, 3, 0) + 14d
08095d8e ap_process_request (8878150, 4, 8878150, 81ffe08, 8870880, 0) + 63
0809296d ap_process_http_connection (88703c8, fffffffe, 8870130, 83eb288, 0,
fffffffe) + 71
0808952e ap_run_process_connection (88703c8, 8870130, 0, 81a20b8, 0, fffffffe)
+ 46
0808997a ap_process_connection (88703c8, 8870130, 8870130, 3, 886e178,
8874100) + 58
0809cb02 child_main (3, 809c20a, 1, 0, 0, 8047180) + 50f
0809ccf8 make_child (81e1ca8, 3, f4240, fea8e000, 81e1ca8, fea90390) + 17c
0809cf49 perform_idle_server_maintenance (80b8e88, 8047254, 8047244, 80b8e88,
81e1ca8, 80a9185) + 1d4
0809d469 ap_mpm_run (80b8e88, 80ecf58, 81e1ca8, 81e1ca8, 14, 80ad708) + 4d8
08069c0a main (80685b0, 3, 8047340) + b1f
080685b0 _start (3, 8047438, 8047457, 804745a, 0, 8047460) + 80
pstack: warning: librtld_db failed to initialize; symbols from shared libraries
will not be available
pflags 22593
22593: /srv/apache2_mod_php/bin/httpd -k start
data model = _ILP32 flags = ORPHAN|MSACCT|MSFORK
/1: flags = 0
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52872] httpd Process 100% CPU ENAMETOOLONG
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52872
--- Comment #1 from d.neumann@uni.leuphana.de 2012-03-09 12:48:33 UTC ---
./httpd -V
Server version: Apache/2.2.22 (Unix)
Server built: Mar 5 2012 10:45:56
Server's Module Magic Number: 20051115:30
Server loaded: APR 1.4.5, APR-Util 1.3.12
Compiled using: APR 1.4.5, APR-Util 1.3.12
Architecture: 32-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_PROC_PTHREAD_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="/srv/apache2_mod_php"
-D SUEXEC_BIN="/srv/apache2/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
./httpd -l
Compiled in modules:
core.c
mod_deflate.c
mod_headers.c
prefork.c
http_core.c
mod_so.c
./httpd -M
Loaded Modules:
core_module (static)
deflate_module (static)
headers_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
authn_file_module (shared)
authn_anon_module (shared)
authn_default_module (shared)
authn_alias_module (shared)
authz_host_module (shared)
authz_groupfile_module (shared)
authz_user_module (shared)
authz_owner_module (shared)
authz_default_module (shared)
auth_basic_module (shared)
ext_filter_module (shared)
include_module (shared)
filter_module (shared)
log_config_module (shared)
logio_module (shared)
env_module (shared)
mime_magic_module (shared)
expires_module (shared)
usertrack_module (shared)
unique_id_module (shared)
setenvif_module (shared)
ssl_module (shared)
mime_module (shared)
status_module (shared)
autoindex_module (shared)
info_module (shared)
cgi_module (shared)
vhost_alias_module (shared)
negotiation_module (shared)
dir_module (shared)
actions_module (shared)
alias_module (shared)
rewrite_module (shared)
php5_module (shared)
Syntax OK
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52872] httpd Process 100% CPU ENAMETOOLONG
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52872
Eric Covener <co...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #4 from Eric Covener <co...@gmail.com> 2012-03-09 23:55:24 UTC ---
You'd need to take this up with the PHP project, since it's spinning in mod_php
which isn't part of Apache HTTP Server.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52872] httpd Process 100% CPU ENAMETOOLONG
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52872
--- Comment #2 from Jeff Trawick <tr...@apache.org> 2012-03-09 14:18:30 UTC ---
Please run pstack against the process and report the stack of the thread that
is looping.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org