Re: [squid-users] wrong diskspace count and assertion failed: diskd/store_dir_diskd.c:1930: "buf"

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Sun, 8 Jan 2006 17:47:53 +0100

On 07.01 03:41, H wrote:
> squid crashes periodically
> the server did not crashed or was shutdown, this happens after a certain
> time
>
> Jan 7 03:17:33 wco-alm squid[52151]: WARNING: Disk space over limit: 19205596 KB > 14336000 KB
> Jan 7 03:17:40 wco-alm kernel: pid 52151 (squid), uid 1004: exited on signal 6
> Jan 7 03:17:40 wco-alm squid[52151]: assertion failed: diskd/store_dir_diskd.c:1930: "buf"
> Jan 7 03:17:51 wco-alm squid[68896]: WARNING: Closing open FD 2
> Jan 7 03:17:51 wco-alm squid[68896]: Starting Squid Cache version 2.5.STABLE12
>
> and squid goes counting:
>
> Jan 7 03:19:00 wco-alm squid[68896]: WARNING: Disk space over limit: 22004956 KB > 14336000 KB
>
> but it is wrong:
>
> /dev/da0s1f 9.7G 3.1G 5.8G 35% /c/c1
> /dev/da0s1g 9.7G 3.1G 5.9G 34% /c/c2

there MIGHT be more than 1.4 GB on each partition :)

> cache_dir diskd /c/c1 7000 64 64 Q1=128 Q2=96
> cache_dir diskd /c/c2 7000 64 64 Q1=128 Q2=96

you run two cache_dirs on two partitions on the same disk? This is a bit
ineffective, join them better. You'll only need one cache_dir

what are your cache_swap_high and cache_swap_low settings?

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
10 GOTO 10 : REM (C) Bill Gates 1998, All Rights Reserved!
Received on Sun Jan 08 2006 - 09:48:02 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST