Re: [squid-users] A way/hack to force squid to die?

From: Tom Tux <tomtux80_at_gmail.com>
Date: Thu, 9 Jun 2011 19:56:05 +0200

Ooops....bad mail.

Again:

Hi Helmut

killall (without any parameter) sends a sigterm (kill -15) to the
squid-processes. This command kill's indeed all squid-processes, but
does not bring squid to send me the desired mail.
I think, that if squid "realize" that something is wrong, it shutdown
(or even dies) with sending the mail to the "cache_mgr". But I don't
know what has to be wrong to bring squid sending this mail. I had
already removed directory-permissions, removed the cache.log, closed
some file descriptors with gdb......but no mail.

2011/6/9 Tom Tux <tomtux80_at_gmail.com>:
> Hi Helmut
>
> killall (without any parameter) sends a sigterm (kill -15) to the
> squid-processes. This command kill's indeed all sqBut this does not
> bring squid to die and then send the mail. This command does just kill
> the processes.
>
> 2011/6/9 Helmut Hullen <Hullen_at_t-online.de>:
>> Hallo, Tom,
>>
>> Du meintest am 09.06.11:
>>
>>
>>> I need to verify, if I get a mail when squid dies (I put a correct
>>> mailaddress in cache_mgr-directive). Is there a way/hack to force
>>> squid to die?
>>
>> Yes - this daemon is started from a script p.e. with the command
>>
>>        /etc/init.d/squid start
>>
>> (the command depends on your distribution).
>>
>> And stopping squid is nearly the same command.
>>
>> Brute force (under a linux distribution):
>>
>>        killall squid
>>
>> (if you are curious: repeat the command)
>>
>> Viele Gruesse!
>> Helmut
>>
>
Received on Thu Jun 09 2011 - 17:56:13 MDT

This archive was generated by hypermail 2.2.0 : Fri Jun 10 2011 - 12:00:01 MDT