Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Feb 2004 16:17:31 -0500
From:      Don Bowman <don@sandvine.com>
To:        'Deepak Jain' <deepak@ai.net>, Don Bowman <don@sandvine.com>, freebsd-hackers@freebsd.org
Subject:   RE: 4.9 boot problem on  em0 platform.
Message-ID:  <FE045D4D9F7AED4CBFF1B3B813C85337045D8326@mail.sandvine.com>

next in thread | raw e-mail | index | archive | help
From: Deepak Jain [mailto:deepak@ai.net]
> > 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? :|

Use 'space' to get to the 'ok' loader prompt.
now 'set' the values to a lower #...

ok set path.path.path=value


man loader will tell you about this.




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