[squid-users] Lost of all squid cache

Eduardo Carneiro eduardoocarneiro at gmail.com
Tue Sep 13 11:23:11 UTC 2016


Amos Jeffries wrote
> 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
> _______________________________________________
> squid-users mailing list

> squid-users at .squid-cache

> http://lists.squid-cache.org/listinfo/squid-users

The L1 and L2 parameters are identical Amos. I did not change anything or
the configuration or in the directory.

I tried the solution Yuri mentioned, but it still fails. It took a long time
to rebuild the swap.state, but cache still only 1GB.



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Lost-of-all-squid-cache-tp4679466p4679479.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list