Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Mar 2020 19:36:51 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: swap_pager: indefinite wait buffer
Message-ID:  <20200302193651.GA58645@bastion.zyxst.net>
In-Reply-To: <48Sr7X6M0Lz1ftWZ@baobab.bilink.it>
References:  <48Sr7X6M0Lz1ftWZ@baobab.bilink.it>

next in thread | previous in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello,

On Thu, Feb 27, 2020 at 12:29:39PM +0100, Luciano Mannucci wrote:
>
>Hello everybody!
>
>Since my last upgrade (to 11.3-RELASE-p6) I've noticed some messages
>in the daily security report of one of my PPC 64 virtual servers, that
>runs under KVM/Qemu, which says:
>
>Feb 26 20:17:53 Saguaro kernel: swap_pager: indefinite wait buffer: bufobj=
: 0, blkno: 1698063, size: 20480

I also see this - 12.1-stable r358260 and the load it happens with is
poudriere, but it'll only happen when building the largest packages. I have=
 to
re-run the poudriere run. It'll eventually complete.

>and swapinfo says:
>
>Device          1K-blocks     Used    Avail Capacity
>/dev/md99         2097152   420564  1676588    20%
>/dev/md98         2097152   419352  1677800    20%
>Total             4194304   839916  3354388    20%

I also use a swapfile, but as well as that I have a 4GB swap partition. I've
had the swapfile up to 32GB and it still happens. If I turn off the swapfil=
e,
the swap partition will fill up leading to out-of-swapspace errors. The
indefinite-wait-buffer messages only happen with a swapfile.

>Is there something I should check?
>Any kernel variables tunable via sysctl?

I haven't found a fix for this yet. I was thinking of reinstalling the syst=
em
but this time making a 32GB partition for swap (and dispensing with the
swapfile). I would have hoped that a swapfile could be used just like a swap
partition but alas it seems not. There are vm_swap tunables in sysctl but I
have no idea what they do and, as far as I can tell, appear not to be
documented.
--=20
J.

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl5dYGUACgkQs8o7QhFz
NAVYYA/9ELgFqqS4S0A3mONqhrJWXgct2XccLFvQ08OlmZ3f/7KIa0/HPJ6ahaBR
PhB47BYNwR9OeUQi+TRHE4tRB4hMBue0zvWqWCNO07iixPn36kj81DQXIdAx8aBM
A59bbChmE+VNfKQkdnIOY+Q/Rv3NMswx5BpjpBUOtCI0fdjrVT3riCcG/Yg268Z3
QyOCtydFIK7m+FdmF4yves5MskmebtS9OUhuyhzUNUxkGDXngwvG9A/bZq9MA9/z
icOmIZ35sHPM87EVBtEe/4jhkWB9vXZSReejnVVcz97ATJVzLHuX8Yi8VWvOdes1
5hkH+yQiye6sgR/NbkShdeD8snZjUOkOkS68uy8Is2VhH8Pl44CT36lLCSvAJFwy
MT1qp2HT/AVeOxRQshFkqEbue7WG8fyfnvIfbFXi/AugzXj1bWoxWT7mADirXRxr
gKsIAYVE2yuW2igjE21oVoa7vO/S2gZ44LswzwdkrRFzAfFxOju1SFEgs++s1rTF
oAvghoCuZ7+ItMsxpZDdRcF73oIDR1A6/TG5fo2/1cGuYroRyrecVpcLiNamjhnS
qrZzVliAwf5gCBPmj/HCKdP4eeszuNXJAHiqxuOI+CGsCgb0blcQm776STMJJSik
i3YE1LRkwiJAxVLQL+xurwefbXO9c3xrHgz3WUOlQ2lX5spspag=
=0uG3
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200302193651.GA58645>