You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently upgraded our application, which is built using CodeIgniter 3, from PHP 8.0 to 8.2. However, we've been encountering persistent errors in our logs that didn't occur with PHP 8.0.
The error message is as follows:
ERROR: unable to read what child 15029 said into stderr: Bad file descriptor (9)
We have attempted to address this issue by modifying the following configuration values in our PHP-FPM configuration, but with no success:
pm.max_children = 100
pm.process_idle_timeout = 1800
pm.max_requests = 400
Increased max resources
We have tried increasing our ECS instance size with no luck.
Real-time PHP-FPM Status
Any help in this regard would be greatly appreciated
PHP Version
PHP 8.2.x
Operating System
Debian 12
The text was updated successfully, but these errors were encountered:
My guess is that it's happening because child gets killed and pipe is closed on the child side so master gets this error which it logs. The pm.max_requests is very low which means that PHP will kill child after that amount of requests. This looks pretty similar to #11707 where the OP saw similar issue after the update too. I would recommend trying to significantly increase pm.max_requests first and see if it helps.
Description
We recently upgraded our application, which is built using CodeIgniter 3, from PHP 8.0 to 8.2. However, we've been encountering persistent errors in our logs that didn't occur with PHP 8.0.
The error message is as follows:
We have attempted to address this issue by modifying the following configuration values in our PHP-FPM configuration, but with no success:
pm.max_children = 100
pm.process_idle_timeout = 1800
pm.max_requests = 400
Increased max resources
We have tried increasing our ECS instance size with no luck.
Real-time PHP-FPM Status

Any help in this regard would be greatly appreciated
PHP Version
PHP 8.2.x
Operating System
Debian 12
The text was updated successfully, but these errors were encountered: