[squid-users] Lost of all squid cache

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


Jorgeley wrote
> what about cache_swap_low and cache_swap_high???
> 
> 2016-09-13 8:23 GMT-03:00 Eduardo Carneiro <

> eduardoocarneiro@

> >:
> 
>> 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.
>> _______________________________________________
>> squid-users mailing list
>> 

> squid-users at .squid-cache

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

> squid-users at .squid-cache

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

cache_swap_low 90
cache_swap_high 95

When the problem was detected, the cache was only 77% of used disk space.



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


More information about the squid-users mailing list