From owner-freebsd-current@freebsd.org Tue May 22 12:17:15 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 157E8EF3D07 for ; Tue, 22 May 2018 12:17:15 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 995EA71ADA for ; Tue, 22 May 2018 12:17:14 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 59502EF3D06; Tue, 22 May 2018 12:17:14 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 43764EF3D05 for ; Tue, 22 May 2018 12:17:14 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BC98B71AD9 for ; Tue, 22 May 2018 12:17:13 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from lrrr.mouf.net (cpe-2606-A000-4102-2500-6245-CBFF-FE5F-6C74.dyn6.twc.com [IPv6:2606:a000:4102:2500:6245:cbff:fe5f:6c74]) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id w4MCH5UF008662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 22 May 2018 12:17:11 GMT (envelope-from swills@FreeBSD.org) Subject: Re: Deadlocks / hangs in ZFS To: Alexander Leidinger , current@freebsd.org References: <20180522101749.Horde.Wxz9gSxx1xArxkYMQqTL0iZ@webmail.leidinger.net> From: Steve Wills Message-ID: Date: Tue, 22 May 2018 08:17:00 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180522101749.Horde.Wxz9gSxx1xArxkYMQqTL0iZ@webmail.leidinger.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]); Tue, 22 May 2018 12:17:11 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99.2 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2018 12:17:15 -0000 I may be seeing similar issues. Have you tried leaving top -SHa running and seeing what threads are using CPU when it hangs? I did and saw pid 17 [zfskern{txg_thread_enter}] using lots of CPU but no disk activity happening. Do you see similar? Steve On 05/22/18 04:17, Alexander Leidinger wrote: > Hi, > > does someone else experience deadlocks / hangs in ZFS? > > What I see is that if on a 2 socket / 4 cores -> 16 threads system I do > a lot in parallel (e.g. updating ports in several jails), then the > system may get into a state were I can login, but any exit (e.g. from > top) or logout of shell blocks somewhere. Sometimes it helps to CTRL-C > all updates to get the system into a good shape again, but most of the > times it doesn't. > > On another system at the same rev (333966) with a lot less CPUs (and AMD > instead of Intel), I don't see such a behavior. > > Bye, > Alexander. >