[squid-users] Re: squid process offen restart by itself

From: Ding Guigeng <guigeng.ding_at_gmail.com>
Date: Tue, 8 Oct 2013 08:08:52 -0700 (PDT)

1)
i ran squid -k shutdown and removed all cached files.then ran squid -z
and the squid.conf:
#workers 2
cache_dir aufs /cache 10240 16 256
and removed rock storage dir.
squid will runs well.
2)
the lines below added:
workers 2
if ${process_number} = 1
cache_dir aufs /cache1 10240 16 256
endif
if ${process+number} = 2
cache_dir aufs /cache2 10240 16 256
endif
###the squid runs well
3)
if i added "rock type with max-size=32768 ,aufs with min-size=32769" in the
section 2,the squid's cache.log shows" pinger exiting","Squid Parent:
(squid-1) process 3205 exited due to signal 6 with status 0".

Amos Jeffries-2 wrote
> On 30/09/2013 10:33 p.m., Ding Guigeng wrote:
>> 2013/09/30 16:58:43 kid4| ERROR opening swap log /cache2/4/swap.state:
>> (2)
>> No such file or directory
>> 2013/09/30 16:58:43 kid5| ERROR opening swap log /cache2/5/swap.state:
>> (2)
>> No such file or directory
>> FATAL: UFSSwapDir::openLog: Failed to open swap log.
>> Squid Cache (Version 3.3.9): Terminated abnormally.
>
> There is the problem(s).
>
> You ran squid -z after changing the cache_dir parameters?
>
> Amos

--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/squid-process-offen-restart-by-itself-tp4662332p4662490.html
Sent from the Squid - Users mailing list archive at Nabble.com.
Received on Tue Oct 08 2013 - 16:55:38 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 09 2013 - 12:00:05 MDT