Re: [squid-users] Re: Splitting objects by size into different cache_dir not working for me

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Sun, 03 Feb 2013 11:44:27 -0700

On 02/02/2013 01:10 AM, babajaga wrote:
> My temp. workaround is like this:
>
> #RKA+: Make sure, that 1MB objects really are cached to disk; Temp.
> workaround
> maximum_object_size_in_memory 1 MB
> #RKA-
> maximum_object_size 1 MB
> cache_dir ufs /usr/local/squid/var/cache/ufs 500 16 256 min-size=31001
> max-size=1048576
> cache_dir rock /usr/local/squid/var/cache/rock 100 min-size=1000
> max-size=31000
>
> Seems to do the trick.

Please note that bug 3752 has a patch that appears to fix the problem so
that you do not need to set maximum_object_size_in_memory to dangerously
high levels.

  http://bugs.squid-cache.org/show_bug.cgi?id=3752

HTH,

Alex.
Received on Sun Feb 03 2013 - 18:44:34 MST

This archive was generated by hypermail 2.2.0 : Sun Feb 03 2013 - 12:00:06 MST