Date: Thu, 23 May 2013 12:48:58 -0700 From: Jeremy Chadwick <jdc@koitsu.org> To: Michael Gass <mgass@csbsju.edu> Cc: freebsd-stable@freebsd.org Subject: Re: Swap Warning Message? Message-ID: <20130523194858.GA31234@icarus.home.lan> In-Reply-To: <20130523125520.GA14671@csbsju.edu> References: <20130523125520.GA14671@csbsju.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 23, 2013 at 07:55:20AM -0500, Michael Gass wrote: > Updated 9.1 to 9 stable on an old PII with 256 MB of memory. > (FreeBSD runs fine on this machine). After updating have > been getting the following warning on startup: > > warning: total configured swap (524288 pages) exceeds maximum recommended > amount (497056 pages). > warning: increase kern.maxswzone or reduce amount of swap space. > > I allocated 2.0 GB of swap when I installed. This was not a problem > in the past. > > Should I ignore this warning or do I need to do something? Taken from my /boot/loader.conf: # Set kern.maxswzone to 0 to squelch "total configured swap exceeds # maximum recommended amount" warning, even with maxpages/2 fix. # http://lists.freebsd.org/pipermail/freebsd-stable/2012-August/thread.html#69301 # kern.maxswzone="0" Give the small amount of memory on your system, I would suggest using the above /boot/loader.conf setting, since your system is significantly likely to make use of lots of swap; decreasing swap space in your case seems downright silly. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Mountain View, CA, US | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130523194858.GA31234>