Andrey Chernov
2012-Sep-03 17:34 UTC
Recent -stable show strange warning about kern.maxswzone
I have kern.maxswzone default (32m), and now start to see this message: warning: total configured swap (1048576 pages) exceeds maximum recommended amount (995904 pages). warning: increase kern.maxswzone or reduce amount of swap. As I read somewhere 32m of maxswzone is enough up to 7Gb of swap, but my swap is 4Gb only. I try to increase it in anyway up to 34m but nothing is changed. Should I just ignore this warning or need to increase it even more? For increase case, how I can guess needed value? -- http://ache.vniz.net/
Andrey Chernov
2012-Sep-03 19:08 UTC
Recent -stable show strange warning about kern.maxswzone
Increasing it even up to 64m does not help at all. Solved by reducing swap partition size to the recommended amount (swapoff, gpart resize, reboot) On Mon, Sep 03, 2012 at 09:34:08PM +0400, Andrey Chernov wrote:> I have kern.maxswzone default (32m), and now start to see this message: > > warning: total configured swap (1048576 pages) exceeds maximum recommended > amount (995904 pages). > warning: increase kern.maxswzone or reduce amount of swap. > > As I read somewhere 32m of maxswzone is enough up to 7Gb of swap, but my > swap is 4Gb only. > I try to increase it in anyway up to 34m but nothing is changed. > Should I just ignore this warning or need to increase it even more? > For increase case, how I can guess needed value?-- http://ache.vniz.net/