How to keep FastCGI processes alive
October 30th, 2005
I have the following CRON entries for one of my sites:
What does this do ? The first entry kills all of my FastCGI processes at 39 minutes past the hour. The second one pings a specific URL to ensure the FastCGI processes are always up and running, every four minutes.
I am certainly not the first to mention this technique, see View processes, grep out by user and then kill all their PIDs.
Seems strange though that I couldn’t find much references to this technique while Googling around.
Anyway, I hope this helps someone.