Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: server-site-status-check - Google Code. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

server-site-status-check - Google Code
by Lost at 3:54 pm EDT, Jun 30, 2008

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.


 
 
Powered By Industrial Memetics