total configured swap exceeds maximum

RW rwmaillists at googlemail.com
Sun May 19 15:00:39 UTC 2019


On Sun, 19 May 2019 12:06:38 +0200 (CEST)
Wojciech Puchar wrote:

> got this after configuring 160GB in 2 page partitions on 32GB RAM
> system.
> 
> 
> warning: total configured swap (36700158 pages) exceeds maximum 
> recommended amount (32536376 pages).
> warning: increase kern.maxswzone or reduce amount of swap.
> 
> 
> what should i set kern.maxswzone to ? it is 0
> 
> # sysctl  kern.maxswzone
> kern.maxswzone: 0

IIRC for amd64 kern.maxswzone=0 represents the maximum allowed.


More information about the freebsd-hackers mailing list