From nobody Sun Oct 13 16:32:03 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 4XRQql5lMsz5Z93K for ; Sun, 13 Oct 2024 16:32:03 +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 4XRQql4h9Rz43vQ for ; Sun, 13 Oct 2024 16:32:03 +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=1728837123; 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=4Zw86jv+a2LPKCZClRtof58W5DSwkGPYrfTozh8RSLQ=; b=LMFjZsdeRs5nPIImcrwAueUzYCQfRjqP19PGH7Da5gXLyoUUKOCCRCSK+LeLKVV6v1aO44 c/K47f0+xDqxIO8GPZNUSOZhWvFQ0wA96I1wQUNoswrEOIbyb7IFGRbPMjxhPI86cvqIrB hBJa1NZpVSvv0D7XQBgpB+P2Kj6sMKVTcPtLDyGCnLd39OiBMH5If5v5sBu6pC7uDL0QLB GufOaGnjms1yKKnfzOIxuwjnmxa7qlZUZbjo8R8Pwp3R6+fh/GD77oRMyV1sgGBQLB9mHE 6OjZVxQ5hU6THFMP1mkTnsT2k2V4yuen6TwuuZPIcDTbIRllwOFRl27KvdWBkQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728837123; a=rsa-sha256; cv=none; b=RuereyKDMfQBf8C2wmRRb21DvyddEOg1wScyg56tBfv8ihu4ITsLZJJquksXAO7kcimcCD DCW+Y1o8ULb+gicmQ+uEhA//1oacV6i/+YkBQCys7ymKifDh5ND6OazOvsjN7I9lOEfhyt 9a7GcMTOwpgnPVUueJpggaS6m5XazeJ6m9DRFOM3I8KQ9L5aROq0GauEW1sf88H8SWl+39 //Mv7VaoHJs4RuoaJkONQ7YCWmVa22a3EFg9E0QsGWF0WOZkC1fvLYJU80S57uB8OLFPu3 0Hek0mYgO++U/6XNP3E/1HcvjBa5lUDPI53ZYIV8R1zwP1ywJNeHS533UpO0/A== 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 4XRQql49qdz11rv for ; Sun, 13 Oct 2024 16:32:03 +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 49DGW3Yg036298 for ; Sun, 13 Oct 2024 16:32:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49DGW31h036296 for bugs@FreeBSD.org; Sun, 13 Oct 2024 16:32:03 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: Sun, 13 Oct 2024 16:32:03 +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 #36 from Mark Millard --- (In reply to Mark Millard from comment #18) By the way, if you add having swap space: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206048#c7 reports: QUOTE On 2017-Feb-13, at 7:20 PM, Konstantin Belousov wr= ote on the freebsd-arm list: . . . swapfile write requires the write request to come through the filesystem write path, which might require the filesystem to allocate more memory and read some data. E.g. it is known that any ZFS write request allocates memory, and that write request on large UFS file might require allocating and reading an indirect block buffer to find the block number of the written block, if the indirect block was not yet read. As result, swapfile swapping is more prone to the trivial and unavoidable deadlocks where the pagedaemon thread, which produces free memory, needs more free memory to make a progress. Swap write on the raw partition over simple partitioning scheme directly over HBA are usually safe, while e.g. zfs over geli over umass is the worst construction. END QUOTE Implication: Avoid file-based swap space in order to avoid deadlocks. Use partitions/slices instead. --=20 You are receiving this mail because: You are the assignee for the bug.=