Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Apr 2006 16:27:13 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Michael Schuh <michael.schuh@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Maximum Swapsize
Message-ID:  <20060411202713.GB89949@xor.obsecurity.org>
In-Reply-To: <1dbad3150604110356m6ca0e92mee07fe59c8973b0f@mail.gmail.com>
References:  <1dbad3150604100913hff9fc4dsb125ea541675f992@mail.gmail.com> <1dbad3150604110356m6ca0e92mee07fe59c8973b0f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <michael.schuh@gmail.com>:
> > 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060411202713.GB89949>