Re: Daemon mode VS non daemon mode

From: Henrik Nordstrom <[email protected]>
Date: Tue, 28 Mar 2000 01:20:51 +0200

Jimmy Stewpot wrote:

> are there any major benefits in using Squid as a daemon as apposed
> to using it as a non-daemon. This has confused me as i am unsure
> how much benefits there are in either way of running squid.

The benefit of using the daemon mode compared to use the RunCache
wrapper script is that it is easier to shut down the daemon mode. Simply
squid -k shutdown will do it for you, while RunCache will automatically
restart Squid if you do so. To shut down a RunCache monitored Squid you
must first kill the RunCache script, and then shut down Squid.

The benefit of using the RunCache wrapper is that you can easily add
triggers when Squid is restarted. Triggers I have used include automated
emails, and even automated stack traces from core dumps if any.

--
Henrik Nordstrom
Squid hacker
Received on Mon Mar 27 2000 - 16:59:06 MST

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