> I've seen this many times, most recently on an upgrade of squid:
> 
> Unpacking replacement squid-common ...
> Preparing to replace squid 2.5.5-4 (using .../squid_2.5.5-5_i386.deb) ...
> Stopping proxy server: Waiting
> ............................................................. Failed.. done.
> Unpacking replacement squid ...
> 
> For some reason squid just doesn't stop.  Manually killing squid works.


I have seen this too, but it doesn't happen every time.

I have two comments.

1. 120 seconds is a _long_ time to wait for a service to shut down.
   Is the initscript waiting too long?

2. After some period of time, should the initscript not attempt to
   kill squid again?  After some period of time, should the
   initscript not kill squid with SIGKILL?

Please note that start-stop-daemon has a very useful "--retry" feature
with which initscripts can perform escalating kills.  The pdnsd and
dnsmasq initscript are good examples to follow.

-- 
Thomas Hood <[EMAIL PROTECTED]>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to