From nobody Fri Nov 29 16:11:10 2024 X-Original-To: bugs@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 4Y0J7z2D62z5fMTd for ; Fri, 29 Nov 2024 16:11:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y0J7y58NLz4Xgm for ; Fri, 29 Nov 2024 16:11:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732896670; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=z/pbHD9ygD2HSsMaXIoCgG7KJTGAg2aFhjBlJgDyZeY=; b=M1FIEanM9Eitb8Vs5dnX5oQ+Npww24WeBaa6BfxYqLECvQS3gtSF14M1aTvpvzL/2FSq6F Gp9lrxWgTbHaScohquNgSXLr96YzNF9E+d0+CDpd+UKynIhmgX0VNSgwOlm59+Vhn0ISxA WLNjH0fCcZgaoRByPSlobfmUK+4qpIcp4HEc1AQaPK78VBtIjWQb0lJkGWRcoag3Q/YoXf McDDvxGxYCtBU7slFnL95H2NqyPpAMIlqkBT2rnm0s+BqIunTxqZFFAroIj0f0LDfORo7U XGZrSJBg+z8w1atntv4SfqW9NPP1IkgB+y4VfOBqbUAOyj1HUa5tu25jDqNDtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732896670; a=rsa-sha256; cv=none; b=einfcWATImRW5jOBjXHOJl983KjNmJDXWYXykb+jdxGqAYazotH/5VLFnFJx8EchRMTP4Q gTPKIes8c54lHW2cne5GKpGwjTeM70l3/iQDKXHYHrLVwF4i6vkXlx9iZX2yaZdHjvqidx uDYbLIVDve7I8p6DkYGOiPDA2bepgRTsJWOd0WR94SOsW/X4S8ncODg3G6WU6OUKw/uIz6 v75dJYBd+2V1VSKeY/1qhl6gICNYYBvotHn8BjpyRg2G0WxFVjn6k0m7DonzAgW3JZnA9X j9eb1Fwq2s7f/Vl+hXVI3hOPD4s+2D/xXu/qiZkoHFwrQiw9wx9pqzU4QKEcVg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y0J7y4SSfzW3m for ; Fri, 29 Nov 2024 16:11:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4ATGBA57042390 for ; Fri, 29 Nov 2024 16:11:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ATGBA36042389 for bugs@FreeBSD.org; Fri, 29 Nov 2024 16:11:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282994] Repeated kernel panics Date: Fri, 29 Nov 2024 16:11:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jSML4ThWwBID69YC@protonmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282994 --- Comment #4 from jSML4ThWwBID69YC@protonmail.com --- (In reply to Mark Johnston from comment #3) Thank you!=20 There are rctl rules in place for every user account, exempting root and sy= stem services. Here's an example.=20 # USERID < replace with actual uid. user:USERID:pcpu:deny=3D100/user user:USERID:maxproc:deny=3D50/user user:USERID:memoryuse:deny=3D1024MB/user user:USERID:swapuse:deny=3D1024MB/user user:USERID:readbps:throttle=3D200MB/user user:USERID:writebps:throttle=3D200MB/user Are the other symptoms also due to this? These happen randomly even when running as root with no rctl rules applied.=20 - top takes thirty seconds to several minutes to load.=20 - ps -aux takes several minutes to return results.=20 - Nullfs mounts take several minutes to apply.=20 The above issues started at the same time as the panics. All the affected systems are running 14.2-RC1. They were previously running 14.1-p6 with the same issue. My guess was it had something to do with FreeBSD-SA-24:14.umtx. > I wrote a patch which prevents the crash, but note that you'll get shm ob= ject allocation failures instead, which might cause all kinds of problems: = https://reviews.freebsd.org/D47839 `all kinds of problems` sounds scary. I'm getting the impression that rctl = is no longer safe to use, but what other options are there for resource contro= l? Is it just the swapuse that's an issue?=20 I'll try pulling the swap rules and see if it changes anything. --=20 You are receiving this mail because: You are the assignee for the bug.=