Date: Tue, 28 Apr 2009 11:11:56 -0700 From: Artem Belevich <fbsdlist@src.cx> To: Ben Kelly <ben@wanderview.com> Cc: freebsd-current@freebsd.org, Ryan Stone <rysto32@gmail.com> Subject: Re: [patch] zfs livelock and thread priorities Message-ID: <ed91d4a80904281111q3b9a3c45vc9fcf129dde8c10d@mail.gmail.com> In-Reply-To: <ed91d4a80904271839l49420c8rbcfd52dd6e72eb83@mail.gmail.com> References: <DC9F2088-A0AF-467D-8574-F24A045ABD81@wanderview.com> <ed91d4a80904131636u18c90474w7cdaa57bc7000e02@mail.gmail.com> <08D7DC2A-68BE-47B6-8D5D-5DE6B48F87E5@wanderview.com> <AC3C4C3F-40C6-4AF9-BAF3-2C4D1E444839@wanderview.com> <ed91d4a80904142135n429dea52o672abf51116fa707@mail.gmail.com> <ed91d4a80904241816r28531a04r2dc70fa8960d430e@mail.gmail.com> <bc2d970904241947r50576efbgc93164a9e4dd297d@mail.gmail.com> <ed91d4a80904242059n3642a40aud55df6d1b6a1695@mail.gmail.com> <FC83DB1E-6C08-4BD4-8BC9-437D714FEE9E@wanderview.com> <ed91d4a80904271839l49420c8rbcfd52dd6e72eb83@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ben, My system had eventually deadlocked overnight, though it took much longer than before to reach that point. In the end I've got many many processes sleeping in zio_wait with no disk activity whatsoever. I'm not sure if that's the same issue or not. Here are stack traces for all processes -- http://pastebin.com/f364e1452 I've got the core saved, so if you want me to dig out some more info, let me know if/how I could help. --Artem On Mon, Apr 27, 2009 at 6:39 PM, Artem Belevich <fbsdlist@src.cx> wrote: >> I've updated the patch to use va_copy(). =A0Unfortunately I don't have a= n >> AMD64 machine to test on at the moment. =A0However, I did look at other = places >> in the kernel where va_copy() is used so I am hopeful I got it right. > > The latest diff does not crash on amd64. That's the good news. > > Even better news is that the hang that I had with enabled ZIL under > heavy load now seems to be gone. > The build that was usually triggering the hang after about an hour has > been going for about three hours now. > > Thanks a lot for the diff. It does help to bring ZFS on FreeBSD closer > to production quality. > > --Artem >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ed91d4a80904281111q3b9a3c45vc9fcf129dde8c10d>