Re: [squid-users] cache_dir error?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 28 May 2013 17:34:17 +1200

On 28/05/2013 7:55 a.m., joel123 wrote:
> Trying out different cache_dir settings and got this:
>
> FATAL: Bungled squid.conf line 125: cache_dir aufs /var/spool/squid 20000 64
> 512 min-size=16000 max-size=1000000000
> Squid Cache (Version 3.1.10): Terminated abnormally.
> CPU Usage: 0.021 seconds = 0.014 user + 0.007 sys
> Maximum Resident Size: 22896 KB
> Page faults with physical i/o: 0
>
>
> It's OK if I remove the min-size & max-size options.
>
> Doesn't aufs support them?

Problem #1:
  3.1 does not support min-size. Please upgrade to at least 3.2.

Problem #2:
  Your cache is 20 GB total size, permitting objects up to ~953 GB to be
stored there is not exactly rational.
More recent Squid will override your setting. The older ones behaviour
is unpredictable since the value you have *may* (system and compiler
dependent) 32-bit wrap then map to a non-negative value.

Amos
Received on Tue May 28 2013 - 05:34:24 MDT

This archive was generated by hypermail 2.2.0 : Tue May 28 2013 - 12:00:07 MDT