From nobody Tue Oct 22 18:01: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 4XY0NH4yWRz5Vgrs for ; Tue, 22 Oct 2024 18:01: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 4XY0NH2dbqz4dq2 for ; Tue, 22 Oct 2024 18:01: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=1729620063; 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=9V5381Z/AdjTVGpCig+qVUFImXnAK6OOGTKRbIRa7rg=; b=S60OWbgK/JVIhBiclDSNsMBx6Yiv1iajhcew/CMY8FYm+k5fIpERUOGaIeEXBGnawhQkKC NF36rN4CEqQSEs6J0orEzo32D4viHGH8rTkSG6CQpD/oJsL1LII93AZCyzl8oOxkibM506 8o76jY3dFQE4bDCbApK79BW1Lk6uq2m3wdmh1Gi4NzPXYgm2c2RBxlw36jWmSBdthpbkUe JRt8OmUWseSI1tofzolZYk4qxR2aycRizG6TOewgk2wqSGcncExL+4kRlDG8oXQnHUxEtJ Jke5zU8LmmfdGualpd3ODN8MsUkOS6NMHFel0XNlugBpJqyzPaVIX3/7XVIlYg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729620063; a=rsa-sha256; cv=none; b=AEYQXngmcCBQKfZClmtcTl5b4bplWPh/hHfU7pBxiAci+t2OVoHo7LehD0RyGJm+QQrwiR QcH0YYZcpF23CnzsflDelIpCYvKgFGB38YJ3z7lwjenehxXA+PkF2NizhfIjmphzBAo7E/ zRvhmFmXo3yXns1zE2dt20SIN3dBKu81KrWoJnCVyXoPZ6sjBn9XiYAE3rqW6OwCT3cCoI xyENICnCwpnV4VkD6vg2pAr8qtrTbH1DF/3IgYkgmYMhgpuJGduhlF+/Siqy77rOCfqWs8 MqJyvhKIBKE2T1xMsyfGGzrLD7GGg/RwX1NEzBYJQ7FnF9vReFr0Cku5EZPE3g== 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 4XY0NH29NnzPSN for ; Tue, 22 Oct 2024 18:01: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 49MI13TZ078932 for ; Tue, 22 Oct 2024 18:01:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49MI13DW078931 for bugs@FreeBSD.org; Tue, 22 Oct 2024 18:01: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: Tue, 22 Oct 2024 18:01: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 #53 from Mark Millard --- (In reply to Henrich Hartzer from comment #50) "failed to reclaim memory" is from multiple attempts to increase the free RAM to not be below a target threshold. There is a parameter for controlling the number of attempts before the related OOM kills start. For example in /boot/loader.conf I have: # # Delay when persistent low free RAM leads to # Out Of Memory killing of processes: vm.pageout_oom_seq=3D120 (You might well want bigger than 120. The default is 12 --last I knew anyway. You might want 1200 or 12000 for experimenting. I expect too large a number might end up with overflow problems but have not checked the details.) The setting does not ever disable the "failed to reclaim memory" OOM activity. It just makes it take longer to happen. It is more useful for spanning temporary heavy RAM use, such as can happen during buildworld, for example. It is not a fix for permanent heavy RAM use. But it can help allow exploring a context by giving more time before the OOM activity happens. --=20 You are receiving this mail because: You are the assignee for the bug.=