Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2024 07:03:50 +0000
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
Message-ID:  <bug-280846-227-XatFvLr6YP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280846-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-280846-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280846

--- Comment #3 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #2)

FYI: I should have noted that vm_pageout_oom(VM_OOM_MEM_PF)
leads to the notice: "a thread waited too long to allocate
a page".

Also the message that I quoted in #2 is my variant of what
is instead under: "if (bootverbose)" in standard FreeBSD
code.

So if you do a verbose boot, you should seem messages
based on:

       if (bootverbose)
               printf(
           "proc %d (%s) failed to alloc page on fault, starting OOM\n",
                   curproc->p_pid, curproc->p_comm);

which would report the exact process that had the
failure to allocate a page in a timely manor for
handling a page fault. (Presumes you are not using
vm.pfault_oom_attempts=3D-1 .)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280846-227-XatFvLr6YP>