Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Apr 2013 19:21:04 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Kevin Day <toasty@dragondata.com>
Cc:        freebsd-fs@FreeBSD.org
Subject:   Re: kern/177536: zfs livelock (deadlock) with high write-to-disk load
Message-ID:  <515DA870.6050006@FreeBSD.org>
In-Reply-To: <FE62319F-4BF5-4E35-9320-590457C79FE2@dragondata.com>
References:  <201304041540.r34Fe1Ka057203@freefall.freebsd.org> <D75AD2BC-E02A-45D2-BDDE-57B99ED77AA0@dragondata.com> <515DA525.3020006@FreeBSD.org> <FE62319F-4BF5-4E35-9320-590457C79FE2@dragondata.com>

next in thread | previous in thread | raw e-mail | index | archive | help
on 04/04/2013 19:12 Kevin Day said the following:
> 
> On Apr 4, 2013, at 11:07 AM, Andriy Gapon <avg@FreeBSD.org> wrote:
> 
>> on 04/04/2013 19:05 Kevin Day said the following: [a lot]
>> 
>> One link: https://wiki.freebsd.org/AvgZfsDeadlockDebug
> 
> 
> Sorry, should have mentioned i've seen this.
> 
> I've tried procstat, but i've failed at keeping it cached long enough to use it
> when this happens. If I try running it, the shell gets stuck in 'ufs'. I'm
> going to add a cron job to just run procstat periodically so hopefully i can
> run it without it needing to touch the disks.

Well, stuck ufs points towards to the storage subsystem.
You can create a memory disk+fs (see mdconfig, mdmfs) and place some tools there.
That way you may be able to get more info and also check if it's VFS or some other
common that gets stuck or if it's the real storage indeed.

> I built a more debug friendly kernel and tried to drop to ddb when this
> happened, but it didn't provide anything useful. When I hit 'enter' on
> 'alltrace' it hard locked without printing anything.
> 
> I haven't been able to trigger a core dump, and this system has no serial or
> firewire ports for live debugging.
> 
> 


-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?515DA870.6050006>