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

2018-02-22 Thread joseph
what i was trying to say is about partial range support bro lol and eduard work is perfect like making squid cache partial of the files :) - ** * Crash to the future ** -- Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.c

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

2018-02-22 Thread Amos Jeffries
On 22/02/18 11:56, joseph wrote: > thank you and thanks to eduard bagdasaryan > no more memory overrun on his big patch > > hoop someone soon work on real range caching since the real world ar https > mostly now > so adding real range caching will save us more bandwidth on http squid > server

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

2018-02-21 Thread joseph
thank you and thanks to eduard bagdasaryan no more memory overrun on his big patch hoop someone soon work on real range caching since the real world ar https mostly now so adding real range caching will save us more bandwidth on http squid server - ** * Cr

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

2018-02-21 Thread Alex Rousskov
On 02/20/2018 05:04 PM, Alex Rousskov wrote: > Thank you and joseph for providing these important details. If we can > reproduce the problem, then we will post a pull request with a fix once > it is is available. Done: https://github.com/squid-cache/squid/pull/155 Alex. > On 02/20/2018 04:57 PM

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

2018-02-21 Thread joseph
testing https://github.com/squid-cache/squid/pull/155 working fine :) i will report if something else came up but so fare so good tks - ** * Crash to the future ** -- Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squ

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

2018-02-21 Thread joseph
sorry this fix the start rebuild if swap.state is empty but there is more issue wen you stop squid it delete the swap.state and re create new one empty - ** * Crash to the future ** -- Sent from: http://squid-web-proxy-cache.101

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

2018-02-21 Thread joseph
found where the bug and i made it work but i dont know wat is the best in UFSSwapDir.cc function Fs::Ufs::UFSSwapDir::openTmpSwapLog(int *clean_flag, int *zero_flag) was -->*zero_flag = log_sb.st_size == 0 ? 1 : 0; change to *zero_flag = log_sb.st_size == 0 ? 0 : 1; best to change int to b

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

2018-02-20 Thread Alex Rousskov
Thank you and joseph for providing these important details. If we can reproduce the problem, then we will post a pull request with a fix once it is is available. If we cannot, we will post more questions here (unless there is a report in Squid Bugzilla by then). --Alex. On 02/20/2018 04:57 PM, Yur

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

2018-02-20 Thread Yuri
Yes, after re-indexing, every next restart cleans up swap.state again and again. 21.02.2018 05:57, Yuri пишет: > 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 cach

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

2018-02-20 Thread Yuri
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 para

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

2018-02-20 Thread joseph
NO SMP just normal configuration cache_mem 500 MB memory_pools off cache_dir aufs /mnt/cache-a 50 128 512 cache_dir aufs /mnt/cache-b 50 128 512 - ** * Crash to the future ** -- Sent from: http://squid-web-proxy-cache.101

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

2018-02-20 Thread 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 /

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

2018-02-20 Thread Alex Rousskov
On 02/20/2018 04:38 PM, joseph wrote: > alex tested on 2 environmentdebian 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 an

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

2018-02-20 Thread Yuri
We're never use SMP. Just regular SMP-unaware configuration. 21.02.2018 05:28, Alex Rousskov пишет: > On 02/20/2018 04:22 PM, joseph wrote: >> using squid-5.0.0-20180218-r3b65960 release kill my cache dir some how >> swap.state is empty and the size of the cached dir has 30 geg >> if i run for c

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

2018-02-20 Thread joseph
>>Since our tests for that change were successful did you restart wile your test was success i guess not - ** * Crash to the future ** -- Sent from: http://squid-web-proxy-cache.1019090.n4.nabble.com/Squid-Users-f1019091.html _

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

2018-02-20 Thread joseph
alex tested on 2 environmentdebian 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

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

2018-02-20 Thread Alex Rousskov
On 02/20/2018 04:22 PM, joseph wrote: > using squid-5.0.0-20180218-r3b65960 release kill my cache dir some how > swap.state is empty and the size of the cached dir has 30 geg > if i run for couple HR and the swap.state grow like couple meg then > restart squid > it become empty swap.state but

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

2018-02-20 Thread joseph
using squid-5.0.0-20180218-r3b65960 release kill my cache dir some how swap.state is empty and the size of the cached dir has 30 geg if i run for couple HR and the swap.state grow like couple meg then restart squid it become empty swap.state but the cached item in storage stay i removed patch