|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2015-01-05 12:18 UTC] francesco at versiliaservices dot com
Description: ------------ we are experiencing ranodm segfaults crashes, with different scripts. Therefore, unfortunately, we have no code to reproduce the crash. PHP configuration (we're using php-fpm and latest nginx) './configure' '--prefix=/usr/local/php-krs-fpm' '--without-pear' '--without-sqlite3' '--without-pdo-sqlite' '--disable-phar' '--disable-fileinfo' '--with-gd' '--with-png-dir' '--with-jpeg-dir' '--with-freetype-dir' '--with-mysqli=mysqlnd' '--with-bz2' '--with-curl' '--enable-mbstring' '--enable-sockets' '--with-zlib' '--disable-simplexml' '--disable-pdo' '--disable-dom' '--enable-fpm' Actual result: -------------- Program terminated with signal 11, Segmentation fault. #0 zend_hash_clean (ht=0x7ffa46bda5b8) at /usr/src/php-5.6.4/Zend/zend_hash.c:582 582 p = p->pListNext; (gdb) bt #0 zend_hash_clean (ht=0x7ffa46bda5b8) at /usr/src/php-5.6.4/Zend/zend_hash.c:582 #1 0x000000000066aa2b in zend_cleanup_op_array_data (function=<value optimized out>) at /usr/src/php-5.6.4/Zend/zend_opcode.c:134 #2 zend_cleanup_function_data (function=<value optimized out>) at /usr/src/php-5.6.4/Zend/zend_opcode.c:141 #3 0x00000000006823e3 in zend_hash_reverse_apply (ht=0x20c16a0, apply_func=0x66aa00 <zend_cleanup_function_data>) at /usr/src/php-5.6.4/Zend/zend_hash.c:729 #4 0x000000000066837b in shutdown_executor () at /usr/src/php-5.6.4/Zend/zend_execute_API.c:286 #5 0x0000000000675632 in zend_deactivate () at /usr/src/php-5.6.4/Zend/zend.c:963 #6 0x0000000000614efd in php_request_shutdown (dummy=<value optimized out>) at /usr/src/php-5.6.4/main/main.c:1884 #7 0x0000000000721479 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/php-5.6.4/sapi/fpm/fpm/fpm_main.c:1988 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
The problem in our case was that one WordPress site started to consume to much memory and has been terminated: Allowed memory size of 268435456 bytes exhausted (tried to allocate 109 bytes) That has probably left PHP in some unclean state causing other sites to return empty responses from server (no headers) and/or crash (we are using Apache's prefork mpm). After increasing the memory limit the problem has been "solved".