Here's a little Perl script that checks to see if a Web site is up. If it is not, it tries to get it up. Basically, I couldn't really find a good way to manage a handful of sites running on Ligttpd and FastCGI. I had a shell script that would kill all the FastCGI processes and then restart them, but sometimes there were misfires...sometimes the data center would reboot and I would not realize one had misfired...etc.
Lighttpd/FastCGI are cool but... there is no management utility included, so having 10 sites on one box is a nightmare. This script helps restart them all. server-site-status-check - Google Code |