Date: Tue, 11 Nov 2025 17:58:45 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@FreeBSD.org> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-current@freebsd.org, freebsd-arm@freebsd.org Subject: Re: kernel: warning: total configured swap (493567 pages) exceeds maximum recommended amount Message-ID: <86ms4sv73u.fsf@ltc.des.dev> In-Reply-To: <aRNod3wxtERTP3uT@www.zefox.net> (bob prohaska's message of "Tue, 11 Nov 2025 08:46:47 -0800") References: <aRJ1RgThaq5eZNKc@int21h> <86qzu4vazw.fsf@ltc.des.dev> <aRNod3wxtERTP3uT@www.zefox.net>
index | next in thread | previous in thread | raw e-mail
bob prohaska <fbsd@www.zefox.net> writes: > So I'm flirting with trouble on a system (Pi2/armv7 FWIW) reporting > warning: total configured swap (1024000 pages) exceeds maximum recommended amount (467488 pages). > warning: increase kern.maxswzone or reduce amount of swap. ? The maximum recommended amount is half the maximum supported amount, so you not only have more swap than recommended, you have more swap than the kernel can actually use (467488 * 2 = 934976 pages) and should consider either increasing kern.maxswzone so the kernel can use all of the swap you've configured (at the cost of slightly reducing usasble physical memory) or decreasing the amount of swap. DES -- Dag-Erling Smørgrav - des@FreeBSD.orghelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ms4sv73u.fsf>
