[squid-users] cache_dir still rebuilding

Amos Jeffries squid3 at treenet.co.nz
Fri Sep 4 16:42:31 UTC 2015


On 5/09/2015 4:12 a.m., Amos Jeffries wrote:
> On 5/09/2015 2:59 a.m., Ulises Nicolini wrote:
>> Hello
>>
>> In my cache.log there are a lot of messages:
>>
>> 2015/09/04 12:03:29 kid4| 1 cache_dir still rebuilding. Skip GC for
>> /cache/squidstorage2
>>
>> Who are these messages ? There are problems in my cache_dir ?
> 
> This is the new output in 3.5.8 to indicate reasons why cache_dir may be
> reaching full or overflow. It will only occur while the cache_dir are
> loading or a DIRTY re-scan is going on.
> 
> Sorry. I should have put an output limiter on it. Doing that right now.
> 
> You can silence them by using:
>  debug_options ALL,0
> 

Or debug_options ALL,1 47,0 if you want level-1 messages from other
Squid components.

Just to add to that. In a way it is a sign of trouble if you have a lot
of them for a very long time. Squid is unable to serve cached content
out of the cache_dir for the duration of rebuilds. As long as it is
displaying Squid is operating at somewhat lower than optimal performance.
 However on large cache_dir a re-scan can take a long time. It is one of
the annoying things we have been seeking to fix for quite some time.

Amos



More information about the squid-users mailing list