Date: Mon, 15 Jan 2024 08:07:37 +0000 From: Lexi Winter <lexi@le-fay.org> To: Mark Millard <marklmi@yahoo.com> Cc: Current FreeBSD <freebsd-current@freebsd.org> Subject: Re: poudriere: swap_pager: out of swap space Message-ID: <ZaTnySBEUrrzoxNt@ilythia.eden.le-fay.org> In-Reply-To: <60C36CF0-43AC-4ACA-B6A5-6997F4425EC5@yahoo.com> References: <60C36CF0-43AC-4ACA-B6A5-6997F4425EC5.ref@yahoo.com> <60C36CF0-43AC-4ACA-B6A5-6997F4425EC5@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZaTnySBEUrrzoxNt>