Date: Sun, 30 Mar 2014 21:30:28 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-hackers@freebsd.org Subject: Re: kern.maxswzone Message-ID: <20140330213028.261022f4@gumby.homeunix.com> In-Reply-To: <alpine.BSF.2.00.1403072155140.5678@wojtek.tensor.gdynia.pl> References: <alpine.BSF.2.00.1403072155140.5678@wojtek.tensor.gdynia.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 7 Mar 2014 21:57:05 +0100 (CET) Wojciech Puchar wrote: > i configured 4.7GB swap on 512MB computer and i see in logs > > warning: total configured swap (1249880 pages) exceeds maximum > recommended amount (986496 pages). warning: increase kern.maxswzone > or reduce amount of swap. > > > fine, but after increasing maxswzone to 60000000 from less than 40 > millions of default, no difference in message kern.maxswzone can only be used to reduce the space used below the default, not increase it. According to loader(8) the default allows for a swap size of 8x ram. However, it's not an exact calculation, and there is a safety margin, so you may be OK if you ignore the warning.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140330213028.261022f4>