I am getting these warnings about swap space since I upgraded an old i386 machine from FreeBSD 11.1-p10 to 11.2 from source tree:
The machine has 1G RAM installed and has two GPT partitioned hard drives, each with a 2G swap area. A ratio of 1:4 is probably more than sufficient but I would not call it excessive. And as you can see even one 2G partition already exceeds the recommended amount. The setting of kern.maxswzone also does not appear too small and I don't think I've ever messed with the default value:
Any idea why I now get those warnings? Did I maybe miss to upgrade something in my cutom kernel config or elsewhere?
Code:
warning: total configured swap (524288 pages) exceeds maximum recommended amount (509152 pages).
warning: increase kern.maxswzone or reduce amount of swap.
warning: total configured swap (1048576 pages) exceeds maximum recommended amount (509152 pages).
warning: increase kern.maxswzone or reduce amount of swap.
Code:
kern.maxswzone: 36175872