The mysterious kern.maxswzone

Myster.Hide acupuncture at cgocable.ca
Sun Jan 20 16:51:30 UTC 2019


Le 20/01/2019 à 04:49, Victor Sudakov a écrit :
> Victor Sudakov wrote:
>> I have a small 11.2-RELEASE-p8 i386 system with 512M swap and 256M RAM:
>>
>> # swapinfo
>> Device          1K-blocks     Used    Avail Capacity
>> /dev/mirror/gm0s1b    524288    29656   494632     6%
>>
>> I guess it's not an extraordinary amount of swap for this amount of RAM.
>>
>> However, on boot I see the warning:
>>
>> warning: total configured swap (131072 pages) exceeds maximum recommended amount (113792 pages).
>> warning: increase kern.maxswzone or reduce amount of swap.
> Anyone?
>
>
Probably easier to increase kern.maxswzone using sysctl than modifying
the size of your swap partition. I had the same problem but since I had
a swap file plus a swap partition, I adjusted the size of my swap file
(I didn't want to modify the default kern.maxswzone) and that was it.


More information about the freebsd-questions mailing list