----- Original Nachricht ----
Von:     "Zeller, Jan" <jan.zel...@id.unibe.ch>
An:      Amos Jeffries <squ...@treenet.co.nz>, Jeff Pang <pa...@arcor.de>
Datum:   04.08.2009 10:56
Betreff: AW: Aw: [squid-users] Running two squid3 process, Why?

> Hi all,
> 
> would like to know if from user perspective the signal 6 will have a
> significant http service interruption.


If I remember that correctly, kill SIGTERM and SIGINT will tell squid processes 
to exit gracefully. 
Certainly kill SIGKILL will kill them forcely.
When receiving SIGTERM and SIGINT, the parent will kill a TERM to its child, 
wait for child to exit (surely it's the time after child has finished the 
current request handling), then parent exit gracefully.
So most time you just need to say kill `cat squid.pid` and squid will behave 
correctly. This is what "squid -k shutdown" does?
use kill -9 `cat squid.pid` or "squid -k kill" to kill them forcely.

See also man kill under un*x.


--
Jeff Pang
eMail: pa...@arcor.de
Y! M: yonghua_peng

Plantschen oder Grog? Der Arcor-Wetterdienst weiss Bescheid!
Wassertemperaturen für den Urlaub jetzt checken:  www.arcor.de/rd/wetter_wasser

Reply via email to