Max size of one swap slice

David Wolfskill david at
Tue Aug 5 16:47:08 UTC 2008

On Tue, Aug 05, 2008 at 11:39:11PM +0800, Lin Jui-Nan Eric wrote:
> ...
> Recently we found that we can only allocate 32GB for one swap slice.


> Does there is any sysctl oid  or any kernel option to increase it? Why
> we have this restriction?

I don't know why, though I suspect it may have something to do with the
way storage in the swap space is allocated & addressed.

You may, however, have more than 1 swap space.  (Per man pages for
swapon(8) and swapoff(8), the default maximum is 4.)

David H. Wolfskill				david at
I submit that "conspiracy" would be an appropriate collective noun for cats.

See for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-stable mailing list