Search squid archive

Re: A way/hack to force squid to die?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From squid.conf.documented:
--- SNIP ---
#  TAG: cache_mgr
#       Email-address of local cache manager who will receive
#       mail if the cache dies.  The default is "webmaster."
#Default:
# cache_mgr webmaster
--- SNAP ---

As I understand, squid will send a mail to the defined mail-recipient,
if squid recognize that something is hardly wrong and so he will die.
An hereby my question: How can I force squid to die (not "kill -9" or
"kill -15" because this will kill squid immediately respectively
shutdown squid commonly) to check that this mail will be sent?

Many thanks.
Tom

2011/6/10 Helmut Hullen <Hullen@xxxxxxxxxxx>:
> Hallo, david,
>
> Du meintest am 09.06.11:
>
>>> Brute force (under a linux distribution):
>>>
>>>        killall squid
>>>
>>> (if you are curious: repeat the command)
>
>> actually, you do need to repeat the command. Squid doesn't stop
>> immediatly when it gets the standard kill signal (15), it does some
>> sort of graceful shutdown that can take a significant amount of time
>> to actually take place.
>
> [...]
>
>> what I do is to do killall squid in a loop until the killall command
>> returns an error that there is no process to kill.
>
> Ok - I've seen this behaviour too but haven't yet studied it deeply.
> Thank you!
>
> Viele Gruesse!
> Helmut
>



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux