Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2024 06:50:43 +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-2X3xR5uvXi@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 #2 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(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.=



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