Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2009 22:15:58 +0800
From:      Ganbold <ganbold@micom.mng.net>
To:        Peter Schuller <peter.schuller@infidyne.com>
Cc:        pjd@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>, Rong-en Fan <grafan@gmail.com>
Subject:   Re: process hang in zfs->io_ ?
Message-ID:  <4988519E.2070103@micom.mng.net>
In-Reply-To: <20090201105815.GA73985@hyperion.scode.org>
References:  <6eb82e0902010024o4094b3a6q3186f2109029a67a@mail.gmail.com> <20090201105815.GA73985@hyperion.scode.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Schuller wrote:
>> I'm running current as of 20080130 on an amd64 box. I can make
>> processes stuck in zfs->io_ (output truncated in ddb and top) when I
>> make some packages via ports tinderbox. The ports tinderbox access
>> local disk via nfs (I also tried nullfs).
>>
>> ddb output of ps and alltrace can be found at
>>
>> http://www.rafan.org/FreeBSD/zfs/textdump.zfs.20090130.txt
>>
>> Any ideas?
>>     
>
> A workaround is to disable the ZIL (vfs.zfs.zil_disable="1"), if you
> can afford that on the system in question. It will break the
> durability of fsync(), but retain it's write barrier semantics.
>
> Btw, does anyone have a good grasp of the status of this bug? I have
> seen vague referenced to it being a memory related deadlock for
> example, but that's about it. Is the cause known but difficult to fix,
> or just unknown?
>   

I've observed similar system hang when I tried to run svn update on
FreeBSD head repo
from 2 local directories simultaneously. I might be doing something
wrong and as
I remember I reproduced it a couple of times.

It is i386 CURRENT (r187663M) machine and loader.conf settings are:
vm.kmem_size="1024M"
vm.kmem_size_max="1024M"
vfs.zfs.arc_max="100M"

thanks,

Ganbold




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4988519E.2070103>