<div dir="ltr">Hello, Jonathan,<div><br></div><div>> <span style="color:rgb(0,0,0)">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.</span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)">Why do you think that your system does not support the rock cache?</span></div><div><font color="#000000">As far as I know, the rock cache is a feature of squid, not the operating system.</font></div><div><a href="https://wiki.squid-cache.org/Features/LargeRockStore">https://wiki.squid-cache.org/Features/LargeRockStore</a><font color="#000000"><br></font></div><div>It is just a definition of the internal data structure in the regular file.</div><div><br></div><div>Kind regards,</div><div> Ankor.</div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)"><br></span></div><div><span style="color:rgb(0,0,0)"><br></span></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">ср, 15 янв. 2025 г. в 07:42, <<a href="mailto:jonathanlee571@gmail.com">jonathanlee571@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks that fixed my issue <br>
<br>
-----Original Message-----<br>
From: Amos Jeffries <<a href="mailto:squid3@treenet.co.nz" target="_blank">squid3@treenet.co.nz</a>> <br>
Sent: Tuesday, January 14, 2025 2:23 PM<br>
To: Jonathan Lee <<a href="mailto:jonathanlee571@gmail.com" target="_blank">jonathanlee571@gmail.com</a>><br>
Cc: <a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
Subject: Re: [squid-users] Cache dir<br>
<br>
On 14/01/25 20:14, Jonathan Lee wrote:<br>
> Yes, in that you can restrict the cache_dir line with "if <br>
> ${process_number} = N" conditions so only **one** worker will attempt <br>
> to use that storage location.<br>
> <br>
> I did this and created a new location for a second cache however it <br>
> would not allow me to create the folders it would not generate them I <br>
> assumed it would auto generate them, it has user name and chmod done <br>
> it’s on the same drive the other cache is located just a different <br>
> partition. The workers started everything worked as planed but it <br>
> would not create the sub folders. Is there a manual command to auto <br>
> generate them outside of squid -z?<br>
> <br>
<br>
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.<br>
<br>
HTH<br>
Amos<br>
<br>
<br>
<br>
_______________________________________________<br>
squid-users mailing list<br>
<a href="mailto:squid-users@lists.squid-cache.org" target="_blank">squid-users@lists.squid-cache.org</a><br>
<a href="https://lists.squid-cache.org/listinfo/squid-users" rel="noreferrer" target="_blank">https://lists.squid-cache.org/listinfo/squid-users</a><br>
</blockquote></div>