From nobody Thu Jan 11 02:21:19 2024 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T9T1h28H4z56ncB for ; Thu, 11 Jan 2024 02:21:28 +0000 (UTC) (envelope-from lexi@le-fay.org) Received: from thyme.eden.le-Fay.ORG (THYME.EDEN.LE-FAY.ORG [81.187.47.194]) by mx1.freebsd.org (Postfix) with ESMTP id 4T9T1g3zLRz4bsX for ; Thu, 11 Jan 2024 02:21:27 +0000 (UTC) (envelope-from lexi@le-fay.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=le-fay.org header.s=thyme header.b=ROgc76YA; dmarc=none; spf=pass (mx1.freebsd.org: domain of lexi@le-fay.org designates 81.187.47.194 as permitted sender) smtp.mailfrom=lexi@le-fay.org Received: from iris.eden.le-Fay.ORG (IRIS.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:106::18]) by thyme.eden.le-Fay.ORG (Postfix) with ESMTP id 56E2E28249 for ; Thu, 11 Jan 2024 02:21:19 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=thyme; t=1704939679; bh=jEayCg2ef331Uw0RPGaOtAQPmAfZ1RtvsiXQP88mjOE=; h=Date:From:To:Subject; b=ROgc76YALLjTkaQlWJbs8DnbzZoSy1SirP2NeUkj8qvVwJyRhiopsiQwBPTEgYsx6 T03LWCOmO58d8qXJwGjfD8niQ9HFryfTcNEj0sIbjq4s0ZFiXbKVqItRvPZgfsDWA2 bz3XMM6Etd7LLN43aLU07Os4TCg/mxmscVBym0Fk= Received: from ilythia.eden.le-fay.org (ILYTHIA.EDEN.LE-FAY.ORG [IPv6:2001:8b0:aab5:104:3::101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by iris.eden.le-Fay.ORG (Postfix) with ESMTPSA id 4A4768328 for ; Thu, 11 Jan 2024 02:21:19 +0000 (GMT) Date: Thu, 11 Jan 2024 02:21:19 +0000 From: Lexi Winter To: freebsd-current@freebsd.org Subject: poudriere: swap_pager: out of swap space Message-ID: List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="prqL3tYSvp8X714B" Content-Disposition: inline X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=thyme]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:81.187.47.194]; RCVD_NO_TLS_LAST(0.10)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4T9T1g3zLRz4bsX --prqL3tYSvp8X714B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable hi list, i'm having a recurring problem with poudriere that i hope someone might have an idea about. i'm building packages with poudriere on a system with 32GB memory, with tmpfs and md disabled in poudriere (so it's using ZFS only) and with the ZFS ARC limited to 8GB. running poudriere produces many kernel log messages like this: Jan 10 21:40:00 ilythia kernel: swap_pager: out of swap space Jan 10 21:40:00 ilythia kernel: swp_pager_getswapspace(2): failed Jan 10 22:41:55 ilythia kernel: swap_pager: out of swap space Jan 10 22:41:55 ilythia kernel: swp_pager_getswapspace(21): failed Jan 10 23:48:03 ilythia kernel: swap_pager: out of swap space Jan 10 23:48:03 ilythia kernel: swp_pager_getswapspace(8): failed Jan 11 00:05:00 ilythia kernel: swp_pager_getswapspace(1): failed Jan 11 00:21:45 ilythia kernel: swp_pager_getswapspace(10): failed this is despite the system having a large amount of "Inact" memory according to top(1): Mem: 3828M Active, 15G Inact, 2921M Laundry, 9263M Wired, 1559M Buf, 892M F= ree ARC: 3113M Total, 994M MFU, 884M MRU, 39M Anon, 49M Header, 1139M Other 1296M Compressed, 4130M Uncompressed, 3.19:1 Ratio Swap: 2048M Total, 2048M Used, 8192B Free, 99% Inuse =66rom what i can tell, these swap errors don't cause any issues with the poudriere build, but they do seem to hinder interactive usage by causing long hangs. does anyone have some idea what's going on here? i don't really understand why the system has used 100% of available swap space when it has plenty of Inact memory it could free to fulfill requirements. --prqL3tYSvp8X714B Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmWfUJsACgkQDHqbqZ41 x5nD8Qv9H4B+1bcqiD5XqFf3+m8cw7T9oVoYChO4m5CrZGBItHlOoK5giaiAlLnv pn5iQrP8eQKIu5sEu9L5mea/NFMTiylpIrMvvK3oIJmMbKxSoJ90M+KozYvsXKnu R1c2ub/msKuhV41G4nPDb0m2OPgU4cVFncvzuZjtO1kKWsJFluDq2dPbIleBv+9C YJRImYCexJDMVC2Hm0s+SACSAJeRiiQdLA/GqQo839P/k4a/RynmtZJzL5T6lnEH JvO0q3fkK+0jRKKgXvZrDXjLlxZug7ZsFr6sVHuTst9noy0NdH//Qi2rwA79Q8z5 XjY/1Fr8pWgM0fNm9dxl+Pu9QyMEuXi76Kegdgz849vvJzohRrLvwI4pNL2rOz9c euBM5+FBgAUbEq2bLxeGd+975/cpMFomZliFOsEhv8WkHP2BqkiNicf7X0ZnoNnq VxMJiLwPgVCD2J8t9/GpW8bElR+vV6NEUPrNRDIDWl4VLBZ4lM7EIjz5hp1XSDhq QR6ogk+k =S9S9 -----END PGP SIGNATURE----- --prqL3tYSvp8X714B--