[squid-users] Cache dir

Andrey K ankor2023 at gmail.com
Fri Jan 17 03:32:53 UTC 2025


Hello, Jonathan,

> It says this proxy does not support rock when I manually enable it. Squid
is installed on pfSense plus with an arm processor.

OK, It looks like the pfSense squid was built without rock cache support.
Thank you.

Kind regards,
Ankor.



чт, 16 янв. 2025 г. в 18:23, Jonathan Lee <jonathanlee571 at gmail.com>:

> It says this proxy does not support rock when I manually enable it. Squid
> is installed on pfSense plus with an arm processor.
> Sent from my iPhone
>
> On Jan 15, 2025, at 20:09, Andrey K <ankor2023 at gmail.com> wrote:
>
> 
> Hello, Jonathan,
>
> > I can’t do workers 3 on my system because I would have to disable the
> cache as it won’t do rock cache. This system does not support rock cache.
>
> Why do you think that your system does not support the rock cache?
> As far as I know, the rock cache is a feature of squid, not the operating
> system.
> https://wiki.squid-cache.org/Features/LargeRockStore
> It is just a definition of the internal data structure in the regular file.
>
> Kind regards,
>     Ankor.
>
>
>
>
>
>
> ср, 15 янв. 2025 г. в 07:42, <jonathanlee571 at gmail.com>:
>
>> Thanks that fixed my issue
>>
>> -----Original Message-----
>> From: Amos Jeffries <squid3 at treenet.co.nz>
>> Sent: Tuesday, January 14, 2025 2:23 PM
>> To: Jonathan Lee <jonathanlee571 at gmail.com>
>> Cc: squid-users at lists.squid-cache.org
>> Subject: Re: [squid-users] Cache dir
>>
>> On 14/01/25 20:14, Jonathan Lee wrote:
>> > Yes, in that you can restrict the cache_dir line with "if
>> > ${process_number} = N"  conditions so only **one** worker will attempt
>> > to use that storage location.
>> >
>> > I did this and created a new location for a second cache however it
>> > would not allow me to create the folders it would not generate them I
>> > assumed it would auto generate them, it has user name and chmod done
>> > it’s on the same drive the other cache is located just a different
>> > partition. The workers started everything worked as planed but it
>> > would not create the sub folders. Is there a manual command to auto
>> > generate them outside of squid -z?
>> >
>>
>> Oh. You can workaround that by making a foo.conf file that contains only
>> the cache_dir line and running "squid -z -f /path/to/X.conf" to generate
>> it. After that the worker can use it.
>>
>> HTH
>> Amos
>>
>>
>>
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> https://lists.squid-cache.org/listinfo/squid-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20250117/3cb54771/attachment.htm>


More information about the squid-users mailing list