httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33875] New: - Apache processes consuming CPU
Date Mon, 07 Mar 2005 11:22:17 GMT
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=33875>.
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=33875

           Summary: Apache processes consuming CPU
           Product: Apache httpd-1.3
           Version: HEAD
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: billy.barker@gmail.com


Apache(1.3.33) process (libhttpd.ep) occasionally hangs on calling int_malloc. 
The hanging process usually consumes around 45% CPU.

An strace of the process returns no infomation.

A gdb backtrace reveals the following:

(gdb) backtrace
#0  0x009a9b26 in _int_malloc () from /lib/tls/libc.so.6
#1  0x009a8e9d in malloc () from /lib/tls/libc.so.6
#2  0x007516b6 in lmatcher () from /usr/local/apache_1.3.33/libexec/libhttpd.so
#3  0x00753616 in regexec () from /usr/local/apache_1.3.33/libexec/libhttpd.so
#4  0x0073fdef in ap_regexec () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#5  0x0070c25f in apply_rewrite_cond () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#6  0x0070b77c in apply_rewrite_rule () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#7  0x0070b20e in apply_rewrite_list () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#8  0x0070a131 in hook_uri2file () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#9  0x0072675e in run_method () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#10 0x007267d1 in ap_translate_name () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#11 0x0073d691 in process_request_internal () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#12 0x0073db71 in ap_process_request () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#13 0x00734352 in child_main () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#14 0x007345dd in make_child () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#15 0x00734958 in perform_idle_server_maintenance () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#16 0x00735020 in standalone_main () 
from /usr/local/apache_1.3.33/libexec/libhttpd.so
#17 0x007356ad in ap_main () from /usr/local/apache_1.3.33/libexec/libhttpd.so
#18 0x0804870b in main ()

Initially thought it due to apache being comiled against tls libraries instead 
of the usual ones in /lib.

but the problem still occured after recompiling agaisnt the non thread-safe 
libraries (from /lib). Again hanging on int_malloc.

At the point of failure there is approx 1.8g of memory available to the 
application.

have tried exaclty the same apache/php(4.3.10) install on a redhat 7.3 
valhalla and apache has yet to produce the same error.

Can't reproduce the problem as it seems to only occure randomly (but usually 
when the server is under load).



Here's some server info:

[root@portal6 root]# uname -a
Linux portal6 2.4.21-27.ELsmp #1 SMP Wed Dec 1 21:50:31 EST 2004 i686 athlon 
i386 GNU/Linux
[root@portal6 root]# cat /etc/issue.net
Red Hat Enterprise Linux ES release 3 (Taroon Update 4)
Kernel \r on an \m
[root@portal6 root]# ldd /usr/local/apache/libexec/libhttpd.ep
        libhttpd.so => not found
        libm.so.6 => /lib/tls/libm.so.6 (0x00cbe000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00a2b000)
        libgdbm.so.2 => /usr/lib/libgdbm.so.2 (0x00593000)
        libexpat.so.0 => /usr/local/lib/libexpat.so.0 (0x004d1000)
        libdl.so.2 => /lib/libdl.so.2 (0x00743000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00d34000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0082d000

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


Mime
View raw message