Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2017 23:27:45 -0800
From:      Eitan Adler <lists@eitanadler.com>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD Hackers <freebsd-hackers@freebsd.org>,  FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: faq/troubleshoot.html#indefinite-wait-buffer has the direction of transfer wrong (head -r326888 /usr/src/)
Message-ID:  <CAF6rxg=zQRo%2BKc4p%2B-90sJJxFGHzkk9%2B=1E2bdAFhNffE%2Bz1CQ@mail.gmail.com>
In-Reply-To: <8D8CFFA3-ADE9-402F-B9A1-C311E4244FCB@dsl-only.net>
References:  <BD1E6290-23E1-4231-8E0A-AC0FEA3F32C2@dsl-only.net> <CAF6rxg=yOEnLm4VQGoCyTnQoQaLcgqvOo42UgQazA-0SAwPfyg@mail.gmail.com> <8D8CFFA3-ADE9-402F-B9A1-C311E4244FCB@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 December 2017 at 20:34, Mark Millard <markmi@dsl-only.net> wrote:
>
> On 2017-Dec-16, at 8:23 PM, Eitan Adler <lists at eitanadler.com> wrote:
>
>> On 16 December 2017 at 10:47, Mark Millard <markmi at dsl-only.net> wrot=
e:
>>> I got a "swap_pager: indefinite wait buffer" notice and looked
>>> it up. (This was on a rpi2 booted (kernel and world) from a
>>> USB SSD, swap partition in use instead of a swap file. It
>>> was building devel/cmake via poudriere-devel .)
>>>
>>> https://www.freebsd.org/doc/faq/troubleshoot.html#indefinite-wait-buffe=
r
>>> reads like it is for page-out to disk:
>>>
>>>
>>> QUOTE
>>> 5.9.
>>>
>>> What does the error swap_pager: indefinite wait buffer: mean?
>>>
>>> This means that a process is trying to page memory to disk, and the pag=
e attempt has hung trying to access the disk for more than 20 seconds. It m=
ight be caused by bad blocks on the disk drive, disk wiring, cables, or any=
 other disk I/O-related hardware. If the drive itself is bad, disk errors w=
ill appear in /var/log/messages and in the output of dmesg. Otherwise, chec=
k the cables and connections.
>>> ENDQUOTE
>>>
>>>
>>> But the code containing the message is for "swread":
>>> (head -r326888)
>>
>> If I understand correctly this is fixed by change "trying to page to"
>> to "trying to page from" ?  In other words this happens on swap-in,
>> not swap-out.
>
> That is my understanding of what I reported.

Sorry about the delay:

Sending        faq/book.xml
Transmitting file data .done
Committing transaction...
Committed revision 51344.

Fixed.

--=20
Eitan Adler



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=zQRo%2BKc4p%2B-90sJJxFGHzkk9%2B=1E2bdAFhNffE%2Bz1CQ>