cvs commit: src/sys/kern vfs_subr.c

Alan Cox alc at cs.rice.edu
Mon Aug 2 20:23:11 PDT 2004


On Mon, Aug 02, 2004 at 07:24:13PM -0700, David O'Brien wrote:
> > ...
> > In short, VM_KMEM_SIZE_MAX needs to increase on i386.  I just don't
> > know how large of an increase is safe.  Do you have access to an i386
> > with 4+ GB of RAM?
> 
> I do -- and it is the machine that was panicing with:
> 
>     panic: kmem_malloc(4096): kmap_map too small: 209715200 total allocated
> 
> Scottl told me the root cause was probably too high a kern.maxvnodes
> value and that he's been telling many people to limit kern.maxvnodes to
> 100000 (but I see he now likes a larger number...).
> 
>     vm.kmem_size: 209715200
>     hw.physmem: 3883290624
>     hw.usermem: 3751428096
> 
> are my current values.  What can I do to help choose a better
> VM_KMEM_SIZE_MAX capping?
> 

For starters, please send me the results of "sysctl kern vm" off list.

Alan


More information about the cvs-src mailing list