Search squid archive

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

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

 



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@xxxxxxxxx>:
> 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@xxxxxxxxxxx>:
>> 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
>>
>



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

  Powered by Linux