Re: [squid-users] Change cache_dir from ufs to aufs

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 20 Oct 2011 11:06:42 +1300

 On Wed, 19 Oct 2011 16:27:18 +0200, Emmanuel Lacour wrote:
> On Tue, Oct 18, 2011 at 11:38:28AM -0500, Luis Daniel Lucio Quiroz
> wrote:
>> 2011/10/18 Emmanuel Lacour:
>> >
>> > If do not change the size/L1/L2, can I just change ufs to aufs in
>> > squid.conf and only do a squid reload, or do I need to restart
>> squid?
>> >
>> >
>>
>> restart it
>>
>
> I did it, it works, but now, I have some messages like this (not
> many,
> but some):
>
> 2011/10/19 16:19:58| DiskThreadsDiskFile::openDone: (2) No such file
> or directory
> 2011/10/19 16:19:58| /var/spool/squid/81/DB/0081DB55
>
>
> I think that I'm going to squid-z again the spools (I plan to reduce
> its
> size any way), but I'm curious and would be happy to understand why
> those messages happens;)

 The Squid in-memory index indicates a file exists, but the disk does
 not have it.

 Can be due to manual removal of the files, shutdown not having enough
 time to rebuild the swap.state journal fully.

 For a simple size change (MB capacity rather than L1/L2), you can just
 alter and reload the config. Squid will drop files automatically until
 the cache fits within the new limit.

 Amos
Received on Wed Oct 19 2011 - 22:06:51 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 20 2011 - 12:00:03 MDT