Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2021 22:14:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 257314] FBSD 13 crash after some KDE parts crash supposing out of swap space
Message-ID:  <bug-257314-227-68LSE4Cyqv@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257314-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257314-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=3D257314

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

I guessed wrong, in swap_pager_getpages_locked there is:

        while ((ma[0]->oflags & VPO_SWAPINPROG) !=3D 0) {
                ma[0]->oflags |=3D VPO_SWAPSLEEP;
                VM_CNT_INC(v_intrans);
                if (VM_OBJECT_SLEEP(object, &object->handle, PSWP,
                    "swread", hz * 20)) {
                        printf(
"swap_pager: indefinite wait buffer: bufobj: %p, blkno: %jd, size: %ld\n",
                            bp->b_bufobj, (intmax_t)bp->b_blkno, bp->b_bcou=
nt);
                }
        }

So the "swap_pager: indefinite wait buffer:" are only for
reads and not for writes.

It also looks like the time is 20 seconds before such a
message is reported, not the 30 sec that I'd been told.

Part of the issue might be if write activity delays
pending read activity in the queue.

--=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-257314-227-68LSE4Cyqv>