[php-maint] Bug#370375: libapache2-mod-php4: Apache2 "hangs" with 100% CPU usage in malloc_consolidate()

Alexey Bestchekov proforg at maloletka.ru
Sun Jun 4 20:53:13 UTC 2006

Package: libapache2-mod-php4
Version: 4:4.3.10-16
Severity: normal

apache process "hangs" occaisionally and manages to use 100% CPU

GDB output shows that php hangs in malloc_consolidate()

0x00002aaaac0484ea in malloc_consolidate () from /lib/libc.so.6
(gdb) bt
#0  0x00002aaaac0484ea in malloc_consolidate () from /lib/libc.so.6
#1  0x00002aaaac047d80 in _int_malloc () from /lib/libc.so.6
#2  0x00002aaaac046ff7 in malloc () from /lib/libc.so.6
#3  0x00002aaaadf045e5 in _emalloc () from
#4  0x00002aaaadf11cd4 in zend_stack_init () from
#5  0x00002aaaadf04f5d in zend_init_compiler_data_structures () from
#6  0x00002aaaadf05006 in init_compiler () from
#7  0x00002aaaadf12d09 in zend_activate () from
#8  0x00002aaaadee83fe in php_request_startup () from
#9  0x00002aaaadf26c44 in execute () from
#10 0x00002aaaadf2719e in execute () from
#11 0x0000000000434b71 in ap_run_handler ()
#12 0x0000000000435199 in ap_invoke_handler ()
#13 0x00000000004278a6 in ap_process_request ()
#14 0x00000000004234ac in _start ()
#15 0x000000000043f181 in ap_run_process_connection ()
#16 0x00000000004333ee in ap_graceful_stop_signalled ()
#17 0x000000000043352b in ap_graceful_stop_signalled ()
#18 0x000000000043374c in ap_graceful_stop_signalled ()
#19 0x0000000000433d1e in ap_mpm_run ()
#20 0x0000000000439be7 in main ()

-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.15-1-amd64-k8-smp
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.koi8r (charmap=KOI8-R) (ignored: LC_ALL set to ru_RU.koi8r)

Versions of packages libapache2-mod-php4 depends on:
ii  apache2-mpm-prefork    2.0.54-5          traditional model for Apache2
ii  libbz2-1.0             1.0.2-7           high-quality block-sorting file co
ii  libc6                  2.3.2.ds1-22      GNU C Library: Shared libraries an
ii  libcomerr2             1.37-2sarge1      common error description library
ii  libdb4.2               4.2.52-18         Berkeley v4.2 Database Libraries [
ii  libexpat1              1.95.8-3          XML parsing C library - runtime li
ii  libkrb53               1.3.6-2sarge2     MIT Kerberos runtime libraries
ii  libmagic1              4.17-0bpo1        File type determination library us
ii  libpcre3               4.5-1.2sarge1     Perl 5 Compatible Regular Expressi
ii  libssl0.9.7            0.9.7e-3sarge1    SSL shared libraries
ii  libzzip-0-12           0.12.83-4         library providing read access on Z
ii  mime-support           3.28-1            MIME files 'mime.types' & 'mailcap
ii  php4-common            4:4.3.10-16       Common files for packages built fr
ii  zlib1g                 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information

More information about the pkg-php-maint mailing list