Re: [squid-users] BUG !? swap.state: (13) Permission denied ...

From: Riccardo Castellani <ric.castellani_at_alice.it>
Date: Sun, 7 Feb 2010 00:34:18 +0100

So "killall -HUP squid" command to parent process, permit Squid to reload
squid.conf becuase restart it, ok ?

----- Original Message -----
From: "Amos Jeffries" <squid3_at_treenet.co.nz>
To: <squid-users_at_squid-cache.org>
Sent: Sunday, February 07, 2010 12:24 AM
Subject: Re: [squid-users] BUG !? swap.state: (13) Permission denied ...

> Riccardo Castellani wrote:
>> But can I always use "killall -HUP squid" command ? I'm newby on this
>> Squid version.
>> I killed squid with killall ?!
>>
>
> I don't think so. killall does nasty things to the child processes inside
> Squid. Best to avoid it.
>
> You can kill -HUP the parent process by itself. Which is the same as
> "squid -k shutdown", and passes the skill signal to the squid child
> process after some initial cleanup.
>
> Amos
>
>>
>> ----- Original Message ----- From: "Amos Jeffries" <squid3_at_treenet.co.nz>
>> To: <squid-users_at_squid-cache.org>
>> Sent: Saturday, February 06, 2010 11:56 PM
>> Subject: Re: [squid-users] BUG !? swap.state: (13) Permission denied ...
>>
>>
>>> Riccardo Castellani wrote:
>>>> I'm using Squid 2.7 Stable in Debian Sarge environment, when I tried to
>>>> restart Squid service but process died.
>>>> I got this message in cache.log : "swap.state: (13) Permission denied
>>>> ..."
>>>> First to restart I send killall -HUP squid. What happened ?!
>>>
>>> You killed Squid before it completed writing and setting ownership
>>> details for the new swap.state file.
>>>
>>> Erase the swap.state file and start Squid again as you normally would.
>>> Have some patience this time because the startup may take a long time to
>>> regenerate the content of swap.state from on-disk information.
>>>
>>> Amos
>>> --
>>> Please be using
>>> Current Stable Squid 2.7.STABLE7 or 3.0.STABLE23
>>> Current Beta Squid 3.1.0.16
>>
>
>
> --
> Please be using
> Current Stable Squid 2.7.STABLE7 or 3.0.STABLE23
> Current Beta Squid 3.1.0.16
Received on Sat Feb 06 2010 - 23:34:41 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 07 2010 - 12:00:03 MST