From owner-freebsd-stable@freebsd.org Fri Mar 2 11:49:15 2018 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02E72F3DAC6 for ; Fri, 2 Mar 2018 11:49:15 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A4777C29D for ; Fri, 2 Mar 2018 11:49:14 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id w22BnCnB054295; Fri, 2 Mar 2018 11:49:12 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id w22BnB20054294; Fri, 2 Mar 2018 03:49:11 -0800 (PST) (envelope-from david) Date: Fri, 2 Mar 2018 03:49:11 -0800 From: David Wolfskill To: Jeremy Chadwick Cc: freebsd-stable@freebsd.org Subject: Re: total configured swap pages exceeds maximum recommended amount Message-ID: <20180302114911.GD1144@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Jeremy Chadwick , freebsd-stable@freebsd.org References: <20180302082334.GA6220@icarus.home.lan> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7JkapV4Jq7JYs/O0" Content-Disposition: inline In-Reply-To: <20180302082334.GA6220@icarus.home.lan> User-Agent: Mutt/1.9.3 (2018-01-21) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Mar 2018 11:49:15 -0000 --7JkapV4Jq7JYs/O0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Recipient list trimmed, as this response addresses a peripheral consern -- dhw] On Fri, Mar 02, 2018 at 12:23:34AM -0800, Jeremy Chadwick wrote: > ... > The reason this box has 32GB swap (4x more than existing RAM) has to do > with planning ahead. The system can support up to 32GB RAM, but does > not have all the DIMM slots populated at this time. Swap on this > machine is a physical partition on its main disk, thus "shrinking swap" > is not not possible without a full format/reinstall. > ..... Actually, now that you have sized the partitions. you could use "gpart resize" to shrink the (effective) swap partition, leaving a "hole" (of unused diske space) -- for now. Later, you could use "gpart resize" again to reclaim (some of) the unused space for your swap partition, should you want to do so. Peace, david --=20 David H. Wolfskill david@catwhisker.org Yes, the indictments don't "prove" guilt; that's what trials are for. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --7JkapV4Jq7JYs/O0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEzLfO+ReoAfQwZNd7FTnMQKBJ7hcFAlqZOjdfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEND QjdDRUY5MTdBODAxRjQzMDY0RDc3QjE1MzlDQzQwQTA0OUVFMTcACgkQFTnMQKBJ 7heHAggAjjj7wGiSyAIWckO9ArwAht3PerU13Tywi4l8MZXwrYxgxYbR7WddrkHB +epjWLwqisaVSeqMzIgaGvK7BBr12W9rsUrn/YDGeRSmlzSRkjc0NgHNeFNA/Xhv ln/sbb1BURQBYCT0UCp7kMUGhTO/fzAWCB2QAckfENN5xO2xLm1iUjx1f/0iSSmr UBjgZKGDWpCGqzHPs7G0QMm4cWEoMQD0H+irlQcKdVnyTSWIsMmL3adtn70ubLbC sh4NhePttCAP1rvIYSIxy3jEXWWzUh0dYufAsB5YgOzpz7nbbK76HSmMma3xy0pc I1ePvJRCUC6cym9pkNaHBqv/KV0wSA== =XH6E -----END PGP SIGNATURE----- --7JkapV4Jq7JYs/O0--