Re: Anybody has a script to restart squid?

From: Brad Dixon <>
Date: Tue, 11 Feb 97 10:17:02

Hmm very strange.. If you run RunCache & then even if squid falls over i.e. core dumps
on you it should still come back to life.
 apart from that if you wish to use a script you could make one like the following -

 if ps | grep "Your Squid command line "
 then exit
 else "Your Squid Command line"

 And run this in your cron..


>My Squid dies for some reason from time to time. I'm looking into the cause
>of the problem. For the time being, however, I need a script(in csh or
>perl) which periodically detects whether the Squid runs or not and that
>restarts Squid when it's dead.
>Youngjoo Song
>Korea PC Telecom

Kind Regards
Brad Dixon.
Network Manager.
Preferred Internet Providers.
Email :
Phone : 488-7655.
Received on Mon Feb 10 1997 - 15:31:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:25 MST