From nobody Fri Aug 16 06:50:43 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 4WlXgm2Rv6z5SHkw for ; Fri, 16 Aug 2024 06:50:44 +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 4WlXgl5hJfz50j6 for ; Fri, 16 Aug 2024 06:50:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723791043; a=rsa-sha256; cv=none; b=vBMjH7e+6YwVS+w5ASdARIWPztLf+gvF9sqVaCRorqHFe5wiziUv4k039f3/12idL/l63p z57OeEYNoVCP72lTY4CGQjhR4jxeIi1053gxhQncFKLoNKx84wK2hsttpG6HGC1CPBQThv m8TNZa3wNAPdoYqKNOp34xGM69uU0u/8hE+LrasuNsxGhqJ9DXmvbtaXj2lV0WuqxJRuBp TBp+bNIiwbRIZEFx3Xmeyh8HUNLFi2jqyRoeSVPwC4fK0VTm+uOaATBc5UOnFvFYbcCB39 DHcMACFFU/oGTBgWICLtuPPIEUufBhOqPEyamLME4A3QsGZPUyxhT2B7iuMFxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723791043; 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=VmXPM384PvFxE+u4MakRou/tGx041Q1Lhn4QO/o0sP8=; b=MFPrwZEGpKwRa7xrntNfmzwpaiKf+2tVcduPIZ381NMohtkiHuUhrwnGefleRhVYtKhIwa ihZj3kYqI2oOhpMEzVmyav6uWHW1ljL8qlTD+nyKiDNrV/B2q6dn/n94G0O5uaToyB7rX2 VIu6LHEZHw2yqVPiOA0+r6QXhDOdXnhoNvgMjuKfUBBq4qrNJoUOez8L037yZKJGdEemZA rTC27jMtT+H0tgrRHs8qoPG3fkEYdZXb2SCzi10jZLbdBuVZz36ew3STvjQaMRTWWxkTsp BSHLvAu0JZrYNiont6XeNyvJocRUtfE/WfawOSMuzFc8vn9iUOQ+LmXXVQnhQg== 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 4WlXgl5Hj1zwlL for ; Fri, 16 Aug 2024 06:50:43 +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 47G6ohMH014406 for ; Fri, 16 Aug 2024 06:50:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47G6ohtA014383 for bugs@FreeBSD.org; Fri, 16 Aug 2024 06:50:43 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: Fri, 16 Aug 2024 06:50:43 +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: New 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 #2 from Mark Millard --- (In reply to Mark Millard from comment #1) What is the output like is analogous to in: # sysctl vm.pfault_oom_attempts vm.pfault_oom_wait vm.pfault_oom_attempts: 3 vm.pfault_oom_wait: 10 I'll note that: # sysctl vm.pfault_oom_attempts=3D-1 vm.pfault_oom_attempts: 3 -> -1 prevents executing the sequence: printf("vm_fault_allocate_oom: proc %d (%s) failed to alloc page on fault, starting OOM\n", curproc->p_pid, curproc->p_comm); vm_pageout_oom(VM_OOM_MEM_PF); but it does so by being willing to deadlock/livelock the system instead. Also other forms of OOM activity could still potentially happen and such a change might make that more likely. --=20 You are receiving this mail because: You are the assignee for the bug.=