Re: [squid-users] external_acl_type: what causes squid to restart/reload helpers

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Thu, 05 Apr 2007 18:36:21 +0200

tor 2007-04-05 klockan 10:43 +0100 skrev Joao Ferreira:

> ok, but... wouldn't this also force squid to rotate it's log files
> (assuming logfile_rotate != 0) ???

It does..

> Is there a way to _only_ restart the helpers ??

Gently killing them and crossing your fingers may also work.. but is not
something I would recommend.

> This seems to be a good idea, but... how would my external application
> (the one that writes new data to the disk) know the PIDs of all the
> helpers in order to send them the sighups ?

Do you need to know the PIDs? You can signal applications by name using
pkill

> Would it work to send a signal to Squid and squid would propagate it to
> my helpers... this could have 'negative consequences'

That won't work. Squid does not forward signals, and most signals have
defined meansings in Squid.

Regards
Henrik

Received on Thu Apr 05 2007 - 10:36:26 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT