Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 16:02:03 -0500
From:      Deepak Jain <deepak@ai.net>
To:        Don Bowman <don@sandvine.com>, freebsd-hackers@freebsd.org
Subject:   Re: 4.9 boot problem on  em0 platform.
Message-ID:  <4042534B.1040105@ai.net>
In-Reply-To: <FE045D4D9F7AED4CBFF1B3B813C85337045D831F@mail.sandvine.com>
References:  <FE045D4D9F7AED4CBFF1B3B813C85337045D831F@mail.sandvine.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Just a guess, but i think you've bumped nmbclusters or nmbufs up
> too much (or perhaps maxsockets, maxfds, ...) and have run out of
> KVA.
> 
> You can tune clusters & mbufs in loader.conf without recompiling
> kernel. You will want to see what vm.zone_kmem_pages, vm.zone_kmem_kvaspace
> are showing you, vmstat -z, vmstat -m, etc.
> 
> You may want to alter VM_KMEM_SIZE_SCALE to e.g. '2' if you are
> trying to put more into the kernel mem space.
> 

The kernel that works from another machine has the same settings 
(NMBCLUSTERS=65536, maxusers=512). The machine has 2GB of RAM.

How do you undo the loader.conf settings when the machine won't boot 
because of the settings you made? :|

thanks,

Deepak



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4042534B.1040105>