On 03/10/2013 03:13 PM, Hussam Al-Tayeb wrote:
> I am using squid 3.1.23 and not planning on migrating to a higher version for
> another few months.
> squid says 8 Duplicate URLs purged
> It will not clear the actual stale files form disk
> so cache.log says there are 8 less files than find command says.
That sounds like a Squid bug to me. I do not recall seeing code that
would delay purging ufs files from disk (but I am not a ufs expert).
> I fall into this situation once every few weeks and I end up purging the whole
> cache or restore a back up of the disk cache.
Why? Are you afraid of Squid serving those stale responses to users?
That is unlikely even of Squid has a bug deleting those files from disk.
> Is there any way to clear the stale files from disk instead?
If this is a bug, and it still exists in recent versions, then it should
be reported and fixed.
Meanwhile, if those leftovers really bother you, you can add custom (or
enable higher-level) debugging to figure out which stale files were not
deleted and delete them manually (or even from a script). You may be
able to do the same by analyzing store.log as well. Sorry, I do not have
specific step-by-step instructions for doing this.
Alex.
Received on Mon Mar 11 2013 - 19:45:15 MDT
This archive was generated by hypermail 2.2.0 : Tue Mar 12 2013 - 12:00:04 MDT