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