From nobody Wed Oct 2 02:09:05 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 4XJJC63Gvzz5Xl2N for ; Wed, 02 Oct 2024 02:09:06 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XJJC621ptz4JL3 for ; Wed, 2 Oct 2024 02:09:06 +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=1727834946; 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=xjxmLM/RNspzqGKlopgBXEaLo7nZC+jgFpRIz8C675s=; b=eJVuB8haJJaooj2vRC9Y/Z9iInr5RyJ1E9/MpeOMDHH3LFGNiBeOEZIHIrQLR84nfY1wCW doYl+1lJIWhf8ZGyIncfGt1Z7U4ySUtHmUTPy3Wgco/3HEGGSaQwyWe48BWkc0SUCaCZj+ M4o/SRWzgWSmqxVJlvXTLCvSDhp/vtmW5IY/XceRBZ4TVRSeQsQ30DECtg8pQ3VYIFwiox 4TKGNShTtW0JEHalp93Ynjf6CYCM2rAhgC+nzHDp75wKy2DPmq5wG5LCQDleBrqNLxW+3t 3PWV9fNQARauWRWF7kfsFn33p/h8nDHQs1VOHTr3QfmUU8QsWlm8FHaMS6jFTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727834946; a=rsa-sha256; cv=none; b=cfTf4PiNhNZAb1NT3kmihukBNAQd2M3SlUNI3gK6FfV/tlMBUMB4H2OpHdP08vTktWPUkD +70u9HNBPEjPsc7IpK7ud67KkscaTZVvVYM+O2eT+2jriQD1UMJaucZ/8odW+lkH9oODQP eQCd4jySptfTcuYutu7uwXWw0eXtoOVefh/AFZGCiPp/08s9F/Oip44AeBH9rjtwFOCQYe dzzvU8NOrOTLS36REn+Caod12a9BxYfkzMxIdGYIuCtUpmPaogPJM0569Ua6w9t3qvFu8u 2QAMcXS286LNogPu8ORS1CcHHWhJZ82uEC8Bhao37encfYKGYtlzqL5u/umU8A== 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 4XJJC61WsPz11sq for ; Wed, 2 Oct 2024 02:09:06 +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 492296P5030917 for ; Wed, 2 Oct 2024 02:09:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 492296ON030916 for bugs@FreeBSD.org; Wed, 2 Oct 2024 02:09:06 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 280846] Low memory freezes / OOM: a thread waited too long to allocate a page Date: Wed, 02 Oct 2024 02:09:05 +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.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.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=3D280846 --- Comment #18 from Mark Millard --- (In reply to Henrich Hartzer from comment #15) One thing that high memory use can do is to swap out the kernel stacks of processes that allow you to control/communicate with the system. At that point they can not run at all until swapped back in. This can be avoided via /etc/sysctl.conf having: # # Together this pair avoids swapping out the process kernel stacks. # This avoids processes for interacting with the system from being # hung-up by such. vm.swap_enabled=3D0 vm.swap_idle_enabled=3D0 (main [so: 15] now always does this and no longer has those to control.) This does not prevent OOM kills of such processes: that is a separate issue. --=20 You are receiving this mail because: You are the assignee for the bug.=