Re: [squid-users] assertion failed in COSS

From: Hasanen AL-Bana <hasanen_at_gmail.com>
Date: Thu, 13 Jan 2011 16:58:44 +0300

Hi Amos,

I already have other aufs disks in my configuration :

here is my full cache_dir config file : (i have cache_dir(s) is a
separate config file)

cache_dir coss /mnt/cachedisk1/coss/store1 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk1/coss/store2 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk1/coss/store3 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk1/coss/store4 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk1/coss/store5 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk2/coss/store1 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk2/coss/store2 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk2/coss/store3 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk2/coss/store4 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk2/coss/store5 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir aufs /mnt/cachedisk3/cache/store1 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store2 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store3 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store4 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store5 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store6 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store7 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store8 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store9 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store10 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store11 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store12 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store13 20000 16 256
cache_dir aufs /mnt/cachedisk3/cache/store14 20000 16 256
cache_dir coss /mnt/cachedisk4/coss/store4 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk4/coss/store4 50000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir coss /mnt/cachedisk4/coss/store4 20000 max-size=1000000
maxfullbufs=4 membufs=20 block-size=4096
cache_dir aufs /mnt/cachedisk5/cache/store1 10000 16 256
cache_dir aufs /mnt/cachedisk5/cache/store2 10000 16 256
cache_dir aufs /mnt/cachedisk5/cache/store3 10000 16 256
cache_dir aufs /mnt/cachedisk5/cache/store4 10000 16 256
cache_dir aufs /mnt/cachedisk5/cache/store5 10000 16 256
cache_dir aufs /mnt/cachedisk5/cache/store6 10000 16 256

in fact , I have another system (Dell PE R510 4x300GB 15K SAS 24GB
RAM) and it is running just fine with 10 COSS files (50 GB each) and a
bunch of AUFS directories.

On Thu, Jan 13, 2011 at 4:52 PM, Amos Jeffries <squid3_at_treenet.co.nz> wrote:
> On 14/01/11 01:38, Hasanen AL-Bana wrote:
>>
>> Hi,
>>
>> I am getting these every few minutes causing squid process to restart
>>
>> 2011/01/08 17:30:20| assertion failed: coss/store_dir_coss.c:276:
>> "curstripe == storeCossFilenoToStripe(cs, e->swap_filen)"
>> 2011/01/08 17:36:44| assertion failed: coss/store_dir_coss.c:276:
>> "curstripe == storeCossFilenoToStripe(cs, e->swap_filen)"
>> 2011/01/08 17:43:14| assertion failed: coss/store_dir_coss.c:276:
>> "curstripe == storeCossFilenoToStripe(cs, e->swap_filen)"
>> 2011/01/08 17:50:19| assertion failed: coss/store_dir_coss.c:276:
>> "curstripe == storeCossFilenoToStripe(cs, e->swap_filen)"
>> 2011/01/08 17:57:17| assertion failed: coss/store_dir_coss.c:276:
>> "curstripe == storeCossFilenoToStripe(cs, e->swap_filen)"
>> 2011/01/08 18:04:40| assertion failed: coss/store_dir_coss.c:276:
>> "curstripe == storeCossFilenoToStripe(cs, e->swap_filen)"
>> 2011/01/08 18:11:25| assertion failed: coss/store_dir_coss.c:276:
>> "curstripe == storeCossFilenoToStripe(cs, e->swap_filen)"
>>
>> The system has about 1TB of 15K SAS Disks with 32GB of RAM.
>>
>> here are my cache_dir settings :
>>
>>
>> cache_dir coss /mnt/cachedisk1/coss/store1 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk1/coss/store2 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk1/coss/store3 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk1/coss/store4 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk1/coss/store5 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>>
>> cache_dir coss /mnt/cachedisk2/coss/store1 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk2/coss/store2 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk2/coss/store3 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk2/coss/store4 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>> cache_dir coss /mnt/cachedisk2/coss/store5 50000 max-size=1000000
>> maxfullbufs=4 membufs=20 block-size=4096
>>
>> When I disabled most of the cache_dirs the system worked just fine ,
>> is there any issue with having lots of coss cache_dirs ?
>
> You are out on/past the edges of known configurations there already. Most
> mentions here have been from people using only a few cache_dir, mixing aufs
> for bugger objects with a COSS or two to speed up the small items.
>
> Amos
> --
> Please be using
>  Current Stable Squid 2.7.STABLE9 or 3.1.10
>  Beta testers wanted for 3.2.0.4
>
Received on Thu Jan 13 2011 - 14:02:31 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 13 2011 - 12:00:03 MST