From owner-freebsd-stable@FreeBSD.ORG Tue Apr 11 20:27:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CC4E16A400 for ; Tue, 11 Apr 2006 20:27:15 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AF4343D49 for ; Tue, 11 Apr 2006 20:27:14 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 62E041A4DFC; Tue, 11 Apr 2006 13:27:14 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id D530651558; Tue, 11 Apr 2006 16:27:13 -0400 (EDT) Date: Tue, 11 Apr 2006 16:27:13 -0400 From: Kris Kennaway To: Michael Schuh Message-ID: <20060411202713.GB89949@xor.obsecurity.org> References: <1dbad3150604100913hff9fc4dsb125ea541675f992@mail.gmail.com> <1dbad3150604110356m6ca0e92mee07fe59c8973b0f@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yNb1oOkm5a9FJOVX" Content-Disposition: inline In-Reply-To: <1dbad3150604110356m6ca0e92mee07fe59c8973b0f@mail.gmail.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: Maximum Swapsize X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 20:27:15 -0000 --yNb1oOkm5a9FJOVX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 11, 2006 at 12:56:30PM +0200, Michael Schuh wrote: > 2006/4/10, Michael Schuh : > > Hello @all, > > > > last weekend i have setted up an new Machine with > > 6.1-Beta4. By Installation i have made an Swappartition > > with the size of 4GB after install in runtime in top > > it sseems to me that the maximum swap-size is > > limitied to 2GB or better to INT_MAX ? > > > > At another MAchine with FreeBSD4.11 i have a > > Swap-Partition with 1GB size and an Swap-File with > > 8 GB size, all seem fine top let me show: > > > > Mem: 418M Active, 318M Inact, 193M Wired, 40M Cache, 108M Buf, 1960K Fr= ee > > Swap: 9216M Total, 257M Used, 8959M Free, 2% Inuse > > > > Is these setting correct for RELENG_6 or 6.1-Beta4, > > and get the (default) maxsize for Swap-Partitions increased? > > > > thanks for any help > > > > best regards > > > > Michael > > >=20 > It seems to me that i have me not right supressed..... >=20 > My Problem is not the way to find the "right" swapsize for me or > better for my Server with the running Applications. >=20 > My Problem was that i can't show my configured swapsize > right....... > Partitionsize for swap was 4GB > Showing Value was 2GB, I'm guessing you specified 4*1024*1024 blocks of 512 bytes each, not 4GB. Send the output of swapinfo and disklabel -r /dev/whatever (e.g. /dev/ad0s1) on your system. Kris --yNb1oOkm5a9FJOVX Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEPBEhWry0BWjoQKURAgrxAKDZ6HUvbg2e0N9bwAlA1/trd1bxFACeIi4l 9m9d9f/9dzWDqGJJWVRWUIg= =gCPK -----END PGP SIGNATURE----- --yNb1oOkm5a9FJOVX--