[squid-users] squid-5 lost my cached dir

Yuri yvoinov at gmail.com
Tue Feb 20 23:57:18 UTC 2018


It's immediately lost swap.state contents after any restart and starts
up with empty swap.state.

After removal of swap.state with stopped squid, it's correctly
re-indexing cache contents and then run normally.


21.02.2018 05:50, Yuri пишет:
> # -------------------------------------
> # Store parameters
> # -------------------------------------
> minimum_object_size 10 bytes
> maximum_object_size 4 GB
>
> cache_dir aufs /data/cache/d1 48000 64 512
> cache_dir aufs /data/cache/d2 48000 64 512
> cache_dir aufs /data/cache/d3 48000 64 512
> cache_dir aufs /data/cache/d4 48000 64 512
>
> # -------------------------------------
> # Memory parameters
> # -------------------------------------
> cache_mem 512 MB
>
> memory_pools off
> #memory_pools_limit 1024 MB
>
> maximum_object_size_in_memory 1 MB
>
>
> 21.02.2018 05:48, Alex Rousskov пишет:
>> On 02/20/2018 04:38 PM, joseph wrote:
>>> alex tested on 2 environment        debian 9 and solariss
>>> same shame  just keep for 30 minute running caching and do squid restart and
>>> chek your swap.state  you will notice its empty almost on 2 environment
>>> totally different ok
>>> i removed that patch and all fine swap.state stay perfect and all fine
>>> so i guess one of the 2 scenario  its detecting swap file on start never
>>> exist or detecting wrong size that all
>> Thank you for providing these additional snippets of information. We
>> will, of course, try to reproduce the problem with the info you have
>> already provided. If you would like to increase our chances of
>> reproducing this problem, please see my original response (quoted below).
>>
>> Alex.
>>
>>
>>> On 02/20/2018 04:28 PM, Alex Rousskov wrote:
>>>> ... Please share your Squid
>>>> configuration (at least the SMP-, cache_mem-, and cache_dir-related
>>>> directives). You may want to file a bug report to track this fix better.
>> _______________________________________________
>> squid-users mailing list
>> squid-users at lists.squid-cache.org
>> http://lists.squid-cache.org/listinfo/squid-users

-- 
*****************************
* C++20 : Bug to the future *
*****************************


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20180221/dd9155e7/attachment.sig>


More information about the squid-users mailing list