Maximum Swapsize

Kris Kennaway kris at obsecurity.org
Tue Apr 11 20:27:15 UTC 2006


On Tue, Apr 11, 2006 at 12:56:30PM +0200, Michael Schuh wrote:
> 2006/4/10, Michael Schuh <michael.schuh at 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 Free
> > 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
> >
> 
> It seems to me that i have me not right supressed.....
> 
> My Problem is not the way to find the "right" swapsize for me or
> better for my Server with the running Applications.
> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060411/88547f69/attachment.pgp


More information about the freebsd-stable mailing list