From nobody Mon Jan 15 08:07:37 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 4TD4WQ1ZZbz56HlW for ; Mon, 15 Jan 2024 08:07:46 +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 4TD4WP1FWnz4hwk for ; Mon, 15 Jan 2024 08:07:45 +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="qnHfMk2/"; 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 797CC2869F; Mon, 15 Jan 2024 08:07:37 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=le-fay.org; s=thyme; t=1705306057; bh=kWLAyrAxMFoGcbTlbV9Bdxd9+Lnh9TN0tqnsbEZvTds=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=qnHfMk2/xxaVhdVyieIRefIHIlAEuBcyv7ZkXcCLpS3892SqLy9IpKpq9JBBCHKLj WNsKQWb+mPmttJlHbwZ7QwoUthOEnNqevBIynaOrJaTnBPuIlf5EUfU13YLwy+tFIN tCniJeFTQ4f1HiTJFk4P/EN8bV3e+sT6Z8a3KkU8= 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 617898057; Mon, 15 Jan 2024 08:07:37 +0000 (GMT) Date: Mon, 15 Jan 2024 08:07:37 +0000 From: Lexi Winter To: Mark Millard Cc: Current FreeBSD Subject: Re: poudriere: swap_pager: out of swap space Message-ID: References: <60C36CF0-43AC-4ACA-B6A5-6997F4425EC5.ref@yahoo.com> <60C36CF0-43AC-4ACA-B6A5-6997F4425EC5@yahoo.com> 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="ctTaYLvyk7SEw3yU" Content-Disposition: inline In-Reply-To: <60C36CF0-43AC-4ACA-B6A5-6997F4425EC5@yahoo.com> 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]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip4:81.187.47.194]; R_DKIM_ALLOW(-0.20)[le-fay.org:s=thyme]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[le-fay.org:dkim]; ASN(0.00)[asn:20712, ipnet:81.187.0.0/16, country:GB]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[le-fay.org]; TO_DN_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DKIM_TRACE(0.00)[le-fay.org:+] X-Rspamd-Queue-Id: 4TD4WP1FWnz4hwk --ctTaYLvyk7SEw3yU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Mark Millard: > You seem to be under the impression that "Inact" means "page is not > dirty" and so can be freed without being written out to the swap > space. indeed, i was, because this is how sysutils/htop displays memory usage: top(1) Mem: 8502M Active, 15G Inact, 1568M Laundry, 5518M Wired, 1343M Buf, 690M Free htop(1): Mem[|||||||||||||||||||||||||||||||||||||||||| 13.7G/31.9G] i'm vaguely annoyed, but also not surprised, to find out that htop is wrong here... > Inact pages can be dirty and such pages can not be freed without > being written out to the swap space first. If the swap space > ends up filled, dirty pages that are not in active use stay or > propogate into the Inact or Laundry states, accumulating there > (for later potential use). so, how are Inact pages created? does this happen from filesystem writes, or something else? is there somewhere this that is documented? thanks, lexi. --ctTaYLvyk7SEw3yU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEuwt6MaPcv/+Mo+ftDHqbqZ41x5kFAmWk58UACgkQDHqbqZ41 x5kT1wv+Nf2H5ISfDSMexC1mqyIlhpUPodmjYk3ayW4EFc8tSfpdUF/SwTwj2WHK KXspdkRWLUI+kuz7xlxSmLQDjlga3GUkgX4JB0R3Hom2InETdjU5BYxBElGodNu4 1S+JqbBb8BCCc2erZS14QLhTCPgwl0GwBdkUct6ws73OZ7g+Sq3p7eAdEty0z7GI RHLxbAAPGfEndzgEsZI+WM6J8KRPgH7GUP1JHNANnorEiN4L0yZKkj5/n7skdpZl ZEifVgWgj2jA2ILqnkkncBE3n1AAn4XH9lYMIrCJYp8gyFMsNnPsuBYxbo/q9nwP rPPy3H12toWoU6JDmphbosfNpJ7ucc1d78cT+2t0IuP4pLytoC6h/PNiXgDI8rMA ZuM65bco1m8A8LA+vX8Sq5/zn1h56TFiHbPYo9Mc1Svuf8HVF5RJ/8ccoixrSUug M948nWl/lkFtccO866PastqZl/BtAR09OHb8CrXB9WUHLThYPDWzucSiuq6nFoCY WsFd2wHU =jdOw -----END PGP SIGNATURE----- --ctTaYLvyk7SEw3yU--