From nobody Tue Nov 11 19:03:31 2025 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 4d5bWS02b3z6Gt7p; Tue, 11 Nov 2025 19:02:28 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "pelorus.zefox.org", Issuer "pelorus.zefox.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d5bWR48FFz457V; Tue, 11 Nov 2025 19:02:27 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.18.1/8.18.1) with ESMTPS id 5ABJ3Vik024515 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 11 Nov 2025 11:03:32 -0800 (PST) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.18.1/8.18.1/Submit) id 5ABJ3VnN024514; Tue, 11 Nov 2025 11:03:31 -0800 (PST) (envelope-from fbsd) Date: Tue, 11 Nov 2025 11:03:31 -0800 From: bob prohaska To: Mark Millard Cc: Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?= , freebsd-current@freebsd.org, freebsd-arm@freebsd.org Subject: Re: kernel: warning: total configured swap (493567 pages) exceeds maximum recommended amount Message-ID: References: <86qzu4vazw.fsf@ltc.des.dev> <86ms4sv73u.fsf@ltc.des.dev> <3C656BFD-BDBD-4E83-AD62-9FBDE14A94D2@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: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3C656BFD-BDBD-4E83-AD62-9FBDE14A94D2@yahoo.com> X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Rspamd-Queue-Id: 4d5bWR48FFz457V On Tue, Nov 11, 2025 at 10:24:47AM -0800, Mark Millard wrote: > > However, if I remember right, you have reported testing with > the swap adjusted to not produce the warning --and still got > the status of losing control and getting no more output to > look at. If so, the above is not directly a solution to the > specific problem. (It still may be a good idea to not be > oddly configured while trying to find a solution to your > active problem.) > You do remember right. I have one Pi2 with a USB hard disk which does not warn of excess swap, reports 1.7GB of swap and from time to time hangs irrecoverably (no debugger access) at least a couple of times during buildworld cycles. It's a very slight outlier in having a USB2 to PATA bridge instead of USB-SATA on other hosts. Your point about avoiding misconfiguration is well taken in light of the fragmentation issue. Thanks for writing! bob prohaska