[Bug 280846] Low memory freezes / OOM: a thread waited too long to allocate a page
Date: Fri, 16 Aug 2024 07:03:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280846
--- 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=-1 .)
--
You are receiving this mail because:
You are the assignee for the bug.