Welcome! Log In Create A New Profile

Advanced

Assertion `nwrite >= 0' failed

Posted by David 
David
Assertion `nwrite >= 0' failed
December 21, 2009 02:56PM
I'm getting some very strange PHP-FPM behavior I'm trying to debug.
PHP-FPM works fine for around a day and a half, but then it crashes,
dumping this to the log file:
Dec 20 22:27:07.254105 [NOTICE] fpm_children_make(), line 354: child
25784 (pool default) started
Dec 20 22:27:07.254139 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Dec 20 22:27:07.266056 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Dec 20 22:27:07.266112 [WARNING] fpm_children_bury(), line 217: child
25701 (pool default) exited on signal 6 SIGABRT after 0.622831 seconds
from start
Dec 20 22:27:07.266132 [WARNING] fpm_stdio_child_said(), line 167:
child 25701 (pool default) said into stderr: "php-fpm: evmap.c:348:
evmap_io_del: Assertion `nwrite >= 0' failed."
Dec 20 22:27:07.266872 [NOTICE] fpm_children_make(), line 354: child
25785 (pool default) started
Dec 20 22:27:07.269674 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Dec 20 22:27:07.269745 [WARNING] fpm_children_bury(), line 217: child
25702 (pool default) exited on signal 6 SIGABRT after 0.620764 seconds
from start
Dec 20 22:27:07.269774 [WARNING] fpm_stdio_child_said(), line 167:
child 25702 (pool default) said into stderr: "php-fpm: evmap.c:348:
evmap_io_del: Assertion `nwrite >= 0' failed."
Dec 20 22:27:07.270731 [NOTICE] fpm_children_make(), line 354: child
25786 (pool default) started
Dec 20 22:27:07.270769 [WARNING] fpm_children_bury(), line 217: child
25703 (pool default) exited on signal 6 SIGABRT after 0.621256 seconds
from start
Dec 20 22:27:07.270789 [WARNING] fpm_stdio_child_said(), line 167:
child 25703 (pool default) said into stderr: "php-fpm: evmap.c:348:
evmap_io_del: Assertion `nwrite >= 0' failed."
Dec 20 22:27:07.271495 [NOTICE] fpm_children_make(), line 354: child
25787 (pool default) started
Dec 20 22:27:07.278515 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Dec 20 22:27:07.278574 [WARNING] fpm_children_bury(), line 217: child
25705 (pool default) exited on signal 6 SIGABRT after 0.619018 seconds
from start
Dec 20 22:27:07.278599 [WARNING] fpm_stdio_child_said(), line 167:
child 25705 (pool default) said into stderr: "php-fpm: evmap.c:348:
evmap_io_del: Assertion `nwrite >= 0' failed."
Dec 20 22:27:07.279645 [NOTICE] fpm_children_make(), line 354: child
25789 (pool default) started
Dec 20 22:27:07.286655 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Dec 20 22:27:07.286702 [WARNING] fpm_children_bury(), line 217: child
25706 (pool default) exited on signal 6 SIGABRT after 0.621600 seconds
from start
Dec 20 22:27:07.286739 [WARNING] fpm_stdio_child_said(), line 167:
child 25706 (pool default) said into stderr: "php-fpm: evmap.c:348:
evmap_io_del: Assertion `nwrite >= 0' failed."
Dec 20 22:27:07.287739 [NOTICE] fpm_children_make(), line 354: child
25790 (pool default) started
Dec 20 22:27:07.316911 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Dec 20 22:27:07.317044 [WARNING] fpm_children_bury(), line 217: child
25707 (pool default) exited on signal 6 SIGABRT after 0.628985 seconds
from start
Dec 20 22:27:07.317075 [WARNING] fpm_stdio_child_said(), line 167:
child 25707 (pool default) said into stderr: "php-fpm: evmap.c:348:
evmap_io_del: Assertion `nwrite >= 0' failed."
Dec 20 22:27:07.318362 [NOTICE] fpm_children_make(), line 354: child
25791 (pool default) started
Dec 20 22:27:07.331132 [NOTICE] fpm_got_signal(), line 48: received
SIGCHLD
Dec 20 22:27:07.331229 [WARNING] fpm_children_bury(), line 217: child
25708 (pool default) exited on signal 6 SIGABRT after 0.627474 seconds
from start
php-fpm: evmap.c:348: evmap_io_del: Assertion `nwrite >= 0' failed.


Any ideas what could trip the assert? I tried messing around with the
max fd's but it doesn't seem like it's fixing anything. I'm running
PHP-FPM with nginx and PHP 5.3.0
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 159
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready