Re: [squid-users] aufs is broken too in 2.6 (and badly)

From: Juraj Sakala <juraj.sakala@dont-contact.us>
Date: Mon, 25 Jun 2007 08:59:04 +0200

Michel Santos wrote:
> Henrik Nordstrom disse na ultima mensagem:
>
>
>> And yes, I don't care much for diskd. Never have. My main focus is on
>> aufs and ufs. But how swap.state is maintained should be the same in all
>> three "ufs" based cache_dir types. And with current FreeBSDs also fully
>> capable of using aufs...
>>
>
> I followed your advice and changed to aufs but aufs has serious problems too
>
> firstable, after unclean reboot swap.state grows until disk is full and
> squid dies, so same problem as diskd, only in messages appears until it
> dies something different:
>
> Jun 24 08:02:20 gw squid[1026]: Store rebuilding is 100.0% complete
> Jun 24 08:03:50 gw squid[1026]: Store rebuilding is 100.0% complete
> Jun 24 08:04:05 gw squid[1026]: Store rebuilding is 100.0% complete
> Jun 24 08:04:20 gw squid[1026]: Store rebuilding is 100.0% complete
> Jun 24 08:05:05 gw squid[1026]: Store rebuilding is 100.0% complete
> Jun 24 08:06:05 gw squid[1026]: Store rebuilding is 100.0% complete
> Jun 24 08:06:20 gw squid[1026]: Store rebuilding is 100.0% complete
> Jun 24 08:06:35 gw squid[1026]: Store rebuilding is 100.0% complete
> ....
>
> swap.state grows and grows until disk is full and squid dies
>
>
> but it get worse because without any visible reason aufs starts wiping out
> cache subdirs until it is nothing left on the disk. This case has nothing
> to do with the unclean shutdown problem. The following takes place on a
> running machine without any visible trigger, no reboot, no error neither
> form the OS or squid but this:
>
> storeSwapOutFileClosed: dirno 0, swapfile 0009FC83, errflag=-1 (2) No such
> file or directory
> storeDirClean: WARNING: Creating /c/c2/63/52
> storeDirClean: /c/c2/63/52: (2) No such file or directory
> storeDirClean: WARNING: Creating /c/c1/0A/02
> storeDirClean: /c/c1/0A/02: (2) No such file or directory
> storeSwapOutFileClosed: dirno 0, swapfile 0009FC83, errflag=-1 (2) No such
> file or directory
> storeSwapOutFileClosed: dirno 0, swapfile 0009FC85, errflag=-1 (2) No such
> file or directory
>
>
> and to answer your upcoming questions, hardware is 100% ok, this are SMP
> machines running freebsd releng_6 amd64
>
> "wipe_out" starts on all cache_dirs (look at the attached images)
>
> aufs was running for a week (after your advice) until it happened, some
> weeks before on diskd, and before months diskd with 2.5-S14-20060721
>
> same problem on 3 server
>
> I went back to diskd and 2.5 now
>
> but what kind of evil advice you gave me here :)
>
>
>
> Michel
> ...
>
>
>
>
> ****************************************************
> Datacenter Matik http://datacenter.matik.com.br
> E-Mail e Data Hosting Service para Profissionais.
> ****************************************************
I use aufs wiht squid 2.6.12 without problems
Received on Mon Jun 25 2007 - 00:58:48 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:04 MDT