[squid-users] Lost of all squid cache

Amos Jeffries squid3 at treenet.co.nz
Tue Sep 13 03:08:11 UTC 2016


On 13/09/2016 5:12 a.m., Yuri Voinov wrote:
> 
> Hm.
> 
> As a recovery you can try to rename/remove swap.state from cache_dir's
> and start squid again. AFAIK in this case it re-indexing all exists disk
> cache contents and build new one swap.state file. Also, does all
> permissions to cache_dir and subdirectories recursively is correct and
> intact?

Also, check that the config file cache_dir L1 and L2 parameters are
identical to those which the disk directories were initially created
with. If those are different the file hashes will no longer map to the
directory layout they are sitting in.

Amos


More information about the squid-users mailing list