Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Keep FastCGI Processes Up and Running

by Tanktalus (Canon)
on Jul 03, 2008 at 15:39 UTC ( [id://695375]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Time::HiRes qw(usleep);
    use File::Spec;
    
    ...
        system File::Spec->catfile($_, 'fastcgi.pl'), qw(-l /tmp/mysite.so
    +cket -n 3 -d);
      }
    }
    
  2. or download this
    #!/bin/sh
    if ! /etc/init.d/lighttpd status > /dev/null; then
    ...
    if ! /etc/init.d/fastcgi status > /dev/null; then
      /etc/init.d/fastcgi restart
    fi
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://695375]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-03-29 10:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found