swap config

Steven Friedrich FreeBSD at twc.com
Sun Sep 9 12:00:55 UTC 2018

My system has 16GB of memory, so I multiplied that by 4 to get 64GB.
I created a swap partition of 64GB.
When I boot, I get:
warning: total configured swap (16777216 pages) exceeds maximum recommended 
amount (986928 pages).
warning: increase kern.maxswzone or reduce amount of swap.

I tried adding kern.maxswzone to /boot/loader.conf but it complains no matter 
what value I set.

What should I do?  I'm not actually swapping, since I have so much memory, so 
I could turn swap off and re-create the swap partition.

More information about the freebsd-questions mailing list