I have a very weird problem that I cannot seem to figure out. I have PHP-FPM running on my CentOS 7 webserver. After I have updated via custombuild to the newest version 1.642, I have some really strange issues with PHP-FPM. I had installed version 7.4 and 7.0 but after the update 7.4 kept restarting for no apparent reason. So I had switched all my users over to 7.0 because that service doesn't restart.
At the moment I run 7.0 without any issues.
I tried re-installing PHP-FPM 7.1, 7.2, 7.3 and 7.4 but they all cannot run for more than 2-3 minutes or so before they just stop, and then restart. I have all my users run on 7.0, so nothing actually uses the 7.1 and up but it still just stops after a minute or 2-3. The logs aren't giving much answers:
[19-Aug-2022 18:14:26] NOTICE: fpm is running, pid 12746
[19-Aug-2022 18:14:26] NOTICE: ready to handle connections
[19-Aug-2022 18:15:56] NOTICE: Terminating ...
[19-Aug-2022 18:15:56] NOTICE: exiting, bye-bye!
[19-Aug-2022 18:16:01] NOTICE: fpm is running, pid 12894
[19-Aug-2022 18:16:01] NOTICE: ready to handle connections
[19-Aug-2022 18:17:31] NOTICE: Terminating ...
[19-Aug-2022 18:17:31] NOTICE: exiting, bye-bye!
[19-Aug-2022 19:21:18] NOTICE: fpm is running, pid 25122
[19-Aug-2022 19:21:18] NOTICE: ready to handle connections
[22-Aug-2022 16:13:47] NOTICE: fpm is running, pid 403
[22-Aug-2022 16:13:47] NOTICE: ready to handle connections
[22-Aug-2022 16:15:15] NOTICE: Terminating ...
[22-Aug-2022 16:15:15] NOTICE: exiting, bye-bye!
So i'm pulling hairs in what is going wrong. Nothing is actively using the PHP-FPM 7.1 and up, but they all do the same thing, run for a minute, sometimes 2 minutes, and then they terminate and restart. Does anyone else has this issue?
The logs aren't also really helpful, and the fact that nothing actively uses the service makes me think this is a configuration bug rather than an actual php code execution problem.
At the moment I run 7.0 without any issues.
I tried re-installing PHP-FPM 7.1, 7.2, 7.3 and 7.4 but they all cannot run for more than 2-3 minutes or so before they just stop, and then restart. I have all my users run on 7.0, so nothing actually uses the 7.1 and up but it still just stops after a minute or 2-3. The logs aren't giving much answers:
[19-Aug-2022 18:14:26] NOTICE: fpm is running, pid 12746
[19-Aug-2022 18:14:26] NOTICE: ready to handle connections
[19-Aug-2022 18:15:56] NOTICE: Terminating ...
[19-Aug-2022 18:15:56] NOTICE: exiting, bye-bye!
[19-Aug-2022 18:16:01] NOTICE: fpm is running, pid 12894
[19-Aug-2022 18:16:01] NOTICE: ready to handle connections
[19-Aug-2022 18:17:31] NOTICE: Terminating ...
[19-Aug-2022 18:17:31] NOTICE: exiting, bye-bye!
[19-Aug-2022 19:21:18] NOTICE: fpm is running, pid 25122
[19-Aug-2022 19:21:18] NOTICE: ready to handle connections
[22-Aug-2022 16:13:47] NOTICE: fpm is running, pid 403
[22-Aug-2022 16:13:47] NOTICE: ready to handle connections
[22-Aug-2022 16:15:15] NOTICE: Terminating ...
[22-Aug-2022 16:15:15] NOTICE: exiting, bye-bye!
So i'm pulling hairs in what is going wrong. Nothing is actively using the PHP-FPM 7.1 and up, but they all do the same thing, run for a minute, sometimes 2 minutes, and then they terminate and restart. Does anyone else has this issue?
The logs aren't also really helpful, and the fact that nothing actively uses the service makes me think this is a configuration bug rather than an actual php code execution problem.