Search squid archive

Re: Cache dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks that fixed my issue 

-----Original Message-----
From: Amos Jeffries <squid3@xxxxxxxxxxxxx> 
Sent: Tuesday, January 14, 2025 2:23 PM
To: Jonathan Lee <jonathanlee571@xxxxxxxxx>
Cc: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxxxxxxxxxxxxxx
https://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux