On Mon, Apr 30, 2007 at 12:08:58PM -0400, John Baldwin wrote: > On Friday 27 April 2007 04:57:52 pm Lars Engels wrote: > > On Thu, Apr 26, 2007 at 05:45:50PM -0400, John Baldwin wrote: > > > > I also encountered occasional "Panic: failed to create swap zone" when > > CPU #1 was launched just before the disks get mounted. Could that be > > related? > > Ok, so for the default setup, the only problem is that panic? That sounds > like running out of kvm possibly as the swapzone is preallocated from kmem. > The system may be allocating too much for the swapzone, in which case you can > explicitly set the size via the 'kern.maxswzone' tunable. One possible > formula for this is: > > maxswzone = (swap + 1024) * 1024 * 9 / 2 > > Where 'swap' is the amount of swap in megabytes. I added kern.maxswzone=13953024 (2004 MB swap) to loader.conf but after a reboot the oid is still unknown. Do I need to set it somewhere else? -- Lars Engels
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC