The project is based on LAMP. Recently I noticed that every time I refresh a PHP page, the httpd service will restart. I use ps aux | grep httpd command to track the status of the httpd. Every time I refresh a page in the browser, and print the process list, I will find the line
/usr/local/httpd/bin/httpd -k restart
One very weird thing is that the error_log does not have any logs for this restarting.
How to I go about troubleshooting this to determine the cause?
I have experienced a similar issue a couple a months ago, it was due to a miss-configuration of the MPM module. Apache was not able to create a worker thread.
Did you change any configuration related to this ?
Here is a sample of what I got in my log files:
If you changed anything related to MPM, try reverting to default values and see if it works.