[squid-users] Bug: 'squid -k interrupt' quits on config file error, fails to kill process
Amos Jeffries
squid3 at treenet.co.nz
Sun Mar 13 21:22:28 UTC 2022
On 14/03/22 08:48, Dave Blanchard wrote:
> OK. Would there be any harm in using 'kill -9 <pid>'? 'kill <pid>' seems to be interpreted as 'take your time, then quit whenever you're ready.'
Indeed. Busy proxy may have many clients to finish talking to, so there
is a delay.
Sending the SIGHUP ('kill <pid>') a second time ends that delay and
Squid will exit quickly.
> As long as kill -9 won't potentially cause any inconsistencies in state files or anything like that, I guess I'll do it that way. Thanks.
>
"kill -9" will definitely leave some things in an odd state. Try the
double-kill first.
HTH
Amos
More information about the squid-users
mailing list