[squid-dev] Rock store stopped accessing discs

Heiler Bemerguy heiler.bemerguy at cinbesa.com.br
Tue Mar 7 15:40:22 UTC 2017


I'm using squid 4.0.18

And noticed something: (iostat -x 5)

Device:         rrqm/s   wrqm/s     r/s     w/s    rkB/s    wkB/s 
avgrq-sz avgqu-sz   await r_await w_await  svctm  %util
sda               0,00     0,00    0,00    0,25     0,00 28,00   
224,00     0,00    8,00    0,00    8,00   8,00   0,20
sdc               0,00     0,00    0,00    0,00     0,00 0,00     
0,00     0,00    0,00    0,00    0,00   0,00   0,00
sdb               0,00     0,00    0,00    0,00     0,00 0,00     
0,00     0,00    0,00    0,00    0,00   0,00   0,00
sdd               0,00     0,00    0,00    0,00     0,00 0,00     
0,00     0,00    0,00    0,00    0,00   0,00   0,00

No hds are being accessed, only the main (SDA) one (which logs are 
saved). Btw squid is sending 80mbit/s to the network, as iftop told me.

cache.log:

2017/03/07 05:23:59 kid5| ERROR: worker I/O push queue for /cache4/rock 
overflow: ipcIo5.206991w9
2017/03/07 05:24:10 kid5| WARNING: communication with /cache4/rock may 
be too slow or disrupted for about 7.00s; rescued 304 out of 304 I/Os
2017/03/07 08:00:30 kid5| WARNING: abandoning 1 /cache2/rock I/Os after 
at least 7.00s timeout
2017/03/07 10:50:45 kid5| WARNING: abandoning 1 /cache2/rock I/Os after 
at least 7.00s timeout

squid.conf:

cache_dir rock /cache2 110000 min-size=0 max-size=65536 
max-swap-rate=200 swap-timeout=360
cache_dir rock /cache3 110000 min-size=65537 max-size=262144 
max-swap-rate=200 swap-timeout=380
cache_dir rock /cache4 110000 min-size=262145 max-swap-rate=200 
swap-timeout=500

Should I raise any values? tweak something? please advise..

-- 
Best Regards,

Heiler Bemerguy
Network Manager - CINBESA
55 91 98151-4894/3184-1751



More information about the squid-dev mailing list