I'm having this issue:
Apache 2.2.26
PHP 5.4.32
PHP-FPM 5.4.32
Zend OpCache 7.0.3
PHP-FPM Config:
[testuser]
listen = /dev/shm/testuser-php.sock
listen.owner = testuser
listen.group = apache
listen.mode = 0660
user = testuser
group = testuser
catch_workers_output = yes
pm = ondemand
pm.max_children = 64
pm.max_requests = 10000
pm.process_idle_timeout = 20s
php_admin_value[error_log] = /home/testuser/var/php-fpm/error.log
php_value[memory_limit] = "1024M"
~mod_fastcgi.conf:
<IfModule mod_fastcgi.c>
FastCGIExternalServer /dev/shm/testuser-php.fcgi -socket /dev/shm/testuser-php.sock -pass-header Authorization -idle-timeout 3600
</IfModule>
I'm getting "ERROR: unable to read what child say: Bad file descriptor (9)" after couple of hours of it running okay.
when trying to restart php-fpm, it failed, saying another pool with that name exists. i had to kill all php-fpm pools with kill 9 one bye one, then restart worked.
can anyone help me with this ? what's causing this error? I couldn't find anything concrete on the web with a definitive answer. and most are with ngnix