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

From: Luciano Ruete <luciano.ruete_at_gmail.com>
Date: Sat, 02 Feb 2013 12:10:50 -0300

On 02/01/13 17:22, Luciano Ruete wrote:
> On 02/01/2013 04:04 PM, Alex Rousskov wrote:
>> On 02/01/2013 09:42 AM, Luciano Ruete wrote:
>>> Another thing that happens is that rock cache_dir always start from 0
>>> every time squid is restarted, is that the expected behavior?
>> No, it is not. Rock, just like ufs, should preserve cached content
>> across restarts (and does in my tests). How do you know that "cache_dir
>> always start from 0"? Please make sure you do not look at cache
>> statistics that is printed by Squid workers. Look at mgr:storedir stats
>> returned by diskers. Workers do not load rock store indexes, diskers do.
>> Someday, we will find a way to render these stats in a less
>> misleading way.
>>
>

Ok, this one is my fault. Debian/Ubuntu init script does a squid -z in a
pre-start hook if the cache_dir was not initialized. My rock cache_dir
was already initialized but the script only knows from AUFS and COSS
because it is ready for squid-3.1 and not for squid-3.2.

Thanks for the answer.
Received on Sat Feb 02 2013 - 15:11:33 MST

This archive was generated by hypermail 2.2.0 : Sat Feb 02 2013 - 12:00:06 MST