Not sure where to post this; if in the wrong section, please move to where appropriate.
I've been googling for a while now, and have yet to find exactly where I configure kern.maxswzone, or exactly how much to set for it.
I think, /boot/loader.conf is where I set the option, but I don't even have a loader.conf file (I suppose I just
So, how much do I increase it to, and where do I set this increase?
Code:
# dmesg
warning: total configured swap (1116672 pages) exceeds maximum recommended amount (855904 pages).
warning: increase kern.maxswzone or reduce amount of swap.
I've been googling for a while now, and have yet to find exactly where I configure kern.maxswzone, or exactly how much to set for it.
I think, /boot/loader.conf is where I set the option, but I don't even have a loader.conf file (I suppose I just
cp
/boot/defaults/loader.conf to /boot/loader.conf). But, I really have no idea how much to set it to, or what other options I should also change as the default file has everything commented out. man loader
doesn't really clear anything up for me either.
Code:
% sysctl kern.maxswzone
kern.maxswzone: 36175872
So, how much do I increase it to, and where do I set this increase?