[Bug 257314] FBSD 13 crash after some KDE parts crash supposing out of swap space

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Jul 2021 18:48:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257314

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

What I've been told in the past about each message like:

swap_pager: indefinite wait buffer: bufobj: ???, blkno: ???, size: ???

is "It took more than 30s for the IO to complete." Also:
"The swap pager is complaining. It is used for things
other than pure swapping to a swap partition...". (Both
are from Warner L.)

(It is not certain that the kill is driven by those messages.)


Was your top output from before the:

pid 1954 (gimp-2.10), jid 0, uid 1000, was killed: out of swap space

showed up? Or after? After need not reflect the failing
conditions that drive the kill any more. You might have
to record the sequence of top outputs over the time frame
and look back before various outputs from before the
message.


Since this happened with:

vm.pfault_oom_attempts=-1

one thing I know to do to investigate is to use a kernel that
produces messages similar to what my builds would produce so
we know exactly which of the 4 conditions happened for sure.
(I wish such was standard in FreeBSD.)

Another might be to be watching or recording gstat -spod output
over the time frame to get a better handle on what the I/O is
like. (If the "indefinite wait buffer" status is driving the
kills, anyway.)


I will say that, even if "indefinite wait buffer" is not driving
the kills, if your I/O system takes that long to do the I/O that
of itself could be considered a significant usability problem.

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