Re: [squid-users] large rock question

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 14 Nov 2013 08:16:50 -0700

On 11/14/2013 12:43 AM, Ayham Abou Afach wrote:

> but in this way how can i set slot size . is it fixed ???

Please see cache_dir rock slot-size option in squid.conf.documented.

Alex.

> On 11/14/2013 12:55 AM, Alex Rousskov wrote:
>> On 11/13/2013 05:24 AM, Ayham Abou Afach wrote:
>>> Hi Alex
>>>
>>> I am trying squid 3.head to try large rock support .
>> Large rock is not available in 3.head (a.k.a., Squid trunk). If you want
>> to try it, use the following unofficial branch:
>> https://code.launchpad.net/~measurement-factory/squid/collapsed-fwd
>>
>> Since that code is not official, please do not count on official support.
>>
>>
>>> as we see from documentation that max-size option for rock store means
>>> slot size ( which is used 32k -1 );
>> Not in Large Rock. Max-size meaning in Large Rock is the same as
>> max-size meaning for ufs-based cache_dirs.
>>
>>
>>> and caching large objects will use more slots . is that true ???
>> Yes.
>>
>>
>>> if it is true ; how i can limit the hard disk ( rock store partition )
>>> to store objects with max size 10Mb
>> If you are using Large Rock, add max-size=10485760 or similar to your
>> cache_dir line.
>>
>>
>> HTH,
>>
>> Alex.
>>
Received on Thu Nov 14 2013 - 17:14:43 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 14 2013 - 12:00:03 MST