[squid-users] Cache dir

Jonathan Lee jonathanlee571 at gmail.com
Tue Jan 14 07:14:28 UTC 2025


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? 

Sent from my iPhone

> On Jan 13, 2025, at 22:12, Amos Jeffries <squid3 at treenet.co.nz> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20250113/a2fdab13/attachment.htm>


More information about the squid-users mailing list