ID:               40719
 Updated by:       [EMAIL PROTECTED]
 Reported By:      scottmacvicar at ntlworld dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: RHEL 4
 PHP Version:      5.2.1


Previous Comments:
------------------------------------------------------------------------

[2007-03-05 00:17:56] scottmacvicar at ntlworld dot com

Description:
------------
Under high load we appear to be experiencing a crash when allocating 
memory, I've been unable to track this down to a specific script and 
when we compile in debug mode the crash simply doesn't happen.

This has only happened in the 5.2 branch.

We're using the worker MPM for Apache 2 and a few patches from 5.2.2 
that we've backported to fix some thread safety issues.

Backtrace at the moment is as follows:

Thread 3 (process 12962):
#0  0x008b07a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
No symbol table info available.
#1  0x008f0c46 in kill () from /lib/tls/libc.so.6
No symbol table info available.
#2  0x0807e90d in sig_coredump (sig=12936) at mpm_common.c:1170
No locals.
#3  <signal handler called>
No symbol table info available.
#4  0x0092a652 in malloc_consolidate () from /lib/tls/libc.so.6
No symbol table info available.
#5  0x0092b643 in _int_malloc () from /lib/tls/libc.so.6
No symbol table info available.
#6  0x0092d401 in malloc () from /lib/tls/libc.so.6
No symbol table info available.
#7  0x011169cc in _zend_mm_alloc_int (heap=0xfffffff0, size=8192)
    at /www/src/php-5.2.1/Zend/zend_alloc.c:1451
        segment_size = 10420212
        block_size = Variable "block_size" is not available.

I can't seem to pull out what scripts are running in what process at 
the time of execution from the logs, I may have to write a quick 
apache module to do this.

If nothing jumps out at anyone the just assign back to feedback and 
I'll try to do some more tracing to see if I can find a reproduce 
case.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40719&edit=1

Reply via email to