Search squid archive

Re: Does Changing Cache_dir location require a "Rebuild" of the cache?

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

 



On 27/08/2013 2:44 a.m., HillTopsGM wrote:
That is pretty much the question I have:
If the Proxy has been running for a while and caching data to say:

*cache_dir ufs /var/spool/squid3 20480 16 256*

Does Changing Cache_dir location(s) to something like this

*cache_dir ufs /var/spool/squid3_cache-1 5120 16 256
cache_dir ufs /var/spool/squid3_cache-2 5120 16 256
cache_dir ufs /var/spool/squid3_cache-3 5120 16 256
cache_dir ufs /var/spool/squid3_cache-4 5120 16 256*

. . . require a "Rebuild" of the cache or cache table, or will the system
realize that it has changed and start all over again automatically?

You do need to run "squid -z" to build the cache structure of the other cache_dir locations. And might as well including the moved one in that as well to verify the directory structure is correct before trying to run normally with it.

Everything is automatic except changes to the L1/L2 values.

Amos




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

  Powered by Linux