From nobody Wed Nov 29 21:10:29 2023 X-Original-To: stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SgX6S2vQXz52GGF for ; Wed, 29 Nov 2023 21:10:40 +0000 (UTC) (envelope-from pete@twisted.org.uk) Received: from toybox.twisted.org.uk (toybox.twisted.org.uk [178.250.76.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgX6R11dJz4jH4 for ; Wed, 29 Nov 2023 21:10:39 +0000 (UTC) (envelope-from pete@twisted.org.uk) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=twisted.org.uk header.s=tbx header.b=aqBEJMOQ; spf=pass (mx1.freebsd.org: domain of pete@twisted.org.uk designates 178.250.76.50 as permitted sender) smtp.mailfrom=pete@twisted.org.uk; dmarc=pass (policy=none) header.from=twisted.org.uk DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=twisted.org.uk; s=tbx; h=Content-Transfer-Encoding:Content-Type:In-Reply-To :From:References:To:Subject:MIME-Version:Date:Message-ID:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=A46/NqhY3nsGewM04TkVdUvb1n+411XLHchW99dg+s8=; t=1701292239; x=1702156239; b=aqBEJMOQz/ZEzlL/blEDMZeqWVvF/Ry15uluIDxzPzscHZ8YRQ+tApiO8HSE5JBwRvnZPWN8+ZP 2+ridOp5pHdr3MShcnGm0yKbOagU8e657GTKuUCEeB3Nk3syhrMkfm9PPZFvp7LLjx8DV8e21Minp caNminSbWWJohI6y9H0QLeETiYo+FdW+A9g+aULvoh3NzcaVmBNtsAei5+JLvOETJyM46o4mAwhSA VAnqMuJ92W9QWsIlURkbL4F1S1hYfaawwHspu4dnP5Q4HcV5t3rSdsf7jIx0+RMBRzwWyn6Y2HXZz pIiUrwC4PCykxGzbeUkhUoG1f1AVnyOxtV3A==; Received: from mailnull by toybox.twisted.org.uk with spamc-scanned (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1r8RpG-0001gV-0S for stable@freebsd.org; Wed, 29 Nov 2023 21:10:30 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on toybox.twisted.org.uk X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=4.0.0 X-Spam-Score: -1.0 () Received: from balta.twisted.org.uk ([2001:470:6cc4:1::57]) by toybox.twisted.org.uk with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2 (FreeBSD)) (envelope-from ) id 1r8RpG-0001gS-0E for stable@freebsd.org; Wed, 29 Nov 2023 21:10:30 +0000 Message-ID: <3b1f5ed3-57ff-46f4-b8b5-1d57ef1b22df@twisted.org.uk> Date: Wed, 29 Nov 2023 21:10:29 +0000 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Beta Subject: Re: ZFS high CPU use after backup and panic on shutdown To: stable@freebsd.org References: <6ccc544a-7919-57ab-5572-db67fa09ae76@sentry.org> <67606352-8546-7016-5e65-0f5c4dec8a19@sentry.org> Content-Language: en-GB From: Pete French In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-spamc-toybox: true X-transport-toybox: lookuphost X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[twisted.org.uk,none]; R_SPF_ALLOW(-0.20)[+ip4:178.250.76.50/32]; R_DKIM_ALLOW(-0.20)[twisted.org.uk:s=tbx]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; ASN(0.00)[asn:12290, ipnet:178.250.72.0/21, country:GB]; MLMMJ_DEST(0.00)[stable@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[twisted.org.uk:+]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4SgX6R11dJz4jH4 X-Spamd-Bar: --- On 29/11/2023 20:58, Trev wrote: > Trev wrote on 28/11/23 12:09 am: > ARGH. After a few days the issue has again returned. top -S -H shows > that the process which continues to consume 100% of one CPU core is > arc_prune, the same process that causes a kernel panic on shutdown. > > Any ideas on how to resolve this? > I would think you are seeing this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274698 Which was fixed by this: https://freshbsd.org/freebsd/src?q=commit%3A3ec4ea68d* So upgrade to a 14-STABLE after that and you will be fine. You probably want to upfrade as far as today though, to pick up some of the other fixes which went into OpenZFS. -pete.