It is happening occasionally. I reviewed the following logs files but none of them provided any clue:
- /var/log/httpd/error_log
- /var/log/httpd/access_log
- reviewed the /var/log/httpd/domains/$domainname$/access_log and error_log
- /var/log/messages
From 13:51 it started happening and the log is full of events with error code 70 after that moment. At 13:53 I rebooted the php-fpm
I found the following logging in /usr/local/php74/var/log/php-fpm.log:
[14-Sep-2023 13:52:52] WARNING: [pool danteck] child 29782 exited with code 70 after 0.007122 seconds from start
[14-Sep-2023 13:52:52] NOTICE: [pool danteck] child 29783 started
[14-Sep-2023 13:52:53] WARNING: [pool id00046] child 29784 exited with code 70 after 0.007221 seconds from start
[14-Sep-2023 13:52:53] NOTICE: [pool id00046] child 29785 started
[14-Sep-2023 13:53:06] NOTICE: Terminating ...
[14-Sep-2023 13:53:06] NOTICE: exiting, bye-bye!
[14-Sep-2023 13:53:06] NOTICE: fpm is running, pid 30786
[14-Sep-2023 13:53:06] NOTICE: ready to handle connections
[14-Sep-2023 13:53:06] NOTICE: systemd monitor interval set to 10000ms
We are monitoring this server with PRTG but no report of memory shortage has been reported, around 30% available/30% cached/40% in use when this started happening. We upgraded the server this evening from 16GB RAM to 32GB RAM and 6 cores to 12 cores. Hopefully this will solve it.
Also made a sensor that is monitoring the received bytes from this webserver. Fingers crossed.