zend (php-fpm) crashes in high load/memory server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When the server is with a big load and, mainly, using a lot of memory (and swapping), the php5-fpm process crashs with a SIGFAULT signal.
The service works again when I do a `service php5-fpm restart` command.
The problem occours a few times (everytime, the server was with 100% memory usage, and swapping). It occours 5 times in a single day when the application was with a uncommon CPU/memory usage (caused by a already solved bug).
dmesg returns a lot of messages like:
[6463236.343483] php5-fpm[12724]: segfault at 30 ip 00000000006b9311 sp 00007fff6e724ab0 error 4 in php5-fpm[
[6463375.937315] php5-fpm[12676] general protection ip:7f9079aaa7ae sp:2acb364e9fa8a6e8 error:0 in libc-2.
[6464335.367274] php5-fpm[13456] general protection ip:6ba14f sp:7fff81fa8010 error:0 in php5-fpm[
I'll attaching an /var/crash/
Environment: Ubuntu Server 12.04.3 LTS, Webserver with PHP5-FPM (5.3.10-
Environment second the apport report file:
ProblemType: Crash
Architecture: amd64
Date: Thu Sep 12 07:40:40 2013
DistroRelease: Ubuntu 12.04
ExecutablePath: /usr/sbin/php5-fpm
[...]
Signal: 11
Uname: Linux 3.2.0-40-virtual x86_64
gdb output (gdb /usr/sbin/php5-fpm core.14792):
Core was generated by `php-fpm: pool www '.
Program terminated with signal 11, Segmentation fault.
#0 _zval_ptr_dtor (zval_ptr=
436 /build/
dgb `bt full` output (core.14792, main lines):
#0 _zval_ptr_dtor (zval_ptr=
zv = 0x26e14e8
#1 0x00000000006a7ac0 in zend_hash_destroy (ht=0x30d0e30) at /build/
No locals.
#2 0x0000000000690560 in destroy_zend_class (pce=0xbaf98d27
ce = 0x30d0db8
#3 0x00000000006a7350 in _zend_hash_
at /build/
h = 1730852247
Changed in php5 (Ubuntu): | |
status: | Confirmed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.