php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40719 Crash under load within memory manager
Submitted: 2007-03-05 00:17 UTC Modified: 2007-03-13 01:00 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: scottmacvicar at ntlworld dot com Assigned:
Status: No Feedback Package: Unknown/Other Function
PHP Version: 5.2.1 OS: RHEL 4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: scottmacvicar at ntlworld dot com
New email:
PHP Version: OS:

 

 [2007-03-05 00:17 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-03-13 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 13:01:27 2024 UTC