From owner-freebsd-questions@freebsd.org Mon Mar 2 19:37:26 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A42DA258D4A for ; Mon, 2 Mar 2020 19:37:26 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48WVlm3cVrz3MhM for ; Mon, 2 Mar 2020 19:37:24 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id B8294804 for ; Mon, 2 Mar 2020 14:37:21 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 02 Mar 2020 14:37:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=ATDY6f33MUE6sMMX2S6R5szNymV bGPbi07Iyi0SIyNk=; b=Obc9eHVUMXF78jzT4ixssFOoz+cWCUga6dvntAeYDr7 xs4A6OEc++MUW8Nu4HQgWy6g9UkfLz3IpuioMBqWLOmXJCyGPMQBkgkOmX0fOwiN JrcjsS2Ycy1Hbi5mRMxlDpfxRE52GkvuhBZqaNSngLQ+Ir0vsWos4cuOxz8yFoPM uehmiAolwtaME5pGux1IETAWyvyEnOfaTMOvZ24vFHlDIFRUllPfswqXdstm9kvI BlA8CsEqSFcZUZaKIeUzmX9I7ZX4IC2j7jg98Bu5A1XcxbkGw/o9Hr34kERHDzSd 6fjL8bf2iNnj/AatlroiVykEgzC4RoLlo/KqkU2e2dA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ATDY6f 33MUE6sMMX2S6R5szNymVbGPbi07Iyi0SIyNk=; b=TavlEMbkfKW43lgHpnMvxd K9/fd6Z8HYJRhrnChK45SfhxjJQ9fQnkhNW8rS/QJRT2v/bFAs7KeYpO+fKC0Svd +xk8IK/P148djamiGwtnH3rFbfAQ1RDKCOVEl8VUt4Fi51mM7a8NTu+XX7wNnmRW 8AhafNJwjPxffGBLXhRncSLofMuPsS6ZO1vNIdhKvnB9YolTFNYyMVU6w4XVkdYK ub45GZXxywJNJ8Toc6IdWYzYUaJkkd4DLrq4NAEtCSjLq7OpLwAQlaBcBAF/iIrn hKqx82/kExvtOBeRS879MGkuZPDnbX4aHoakKayY2wZ6nvItJ4aTN4iyamaQYxzA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedruddtgedguddvkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehgtd erredttddvnecuhfhrohhmpehtvggthhdqlhhishhtshcuoehtvggthhdqlhhishhtshes iiihgihsthdrnhgvtheqnecukfhppeekvddrjedtrdeluddrleelnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseii hiigshhtrdhnvght X-ME-Proxy: Received: from bastion.zyxst.net (bastion.zyxst.net [82.70.91.99]) by mail.messagingengine.com (Postfix) with ESMTPA id 830913060D1A for ; Mon, 2 Mar 2020 14:37:20 -0500 (EST) Date: Mon, 2 Mar 2020 19:36:51 +0000 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: swap_pager: indefinite wait buffer Message-ID: <20200302193651.GA58645@bastion.zyxst.net> Mail-Followup-To: freebsd-questions@freebsd.org References: <48Sr7X6M0Lz1ftWZ@baobab.bilink.it> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <48Sr7X6M0Lz1ftWZ@baobab.bilink.it> X-Rspamd-Queue-Id: 48WVlm3cVrz3MhM X-Spamd-Bar: -------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=Obc9eHVU; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=TavlEMbk; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.20 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-8.20 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[20.123.147.64.list.dnswl.org : 127.0.5.1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-3.50)[ip: (-9.85), ipnet: 64.147.123.0/24(-4.92), asn: 11403(-2.69), country: US(-0.05)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2020 19:37:26 -0000 --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--