Subject: Re: kernel limits (??)
To: None <mallman@lerc.nasa.gov, tech-kern@netbsd.org>
From: Frank van der Linden <frank@wins.uva.nl>
List: tech-kern
Date: 10/14/1998 14:11:10
On Tue, Oct 13, 1998 at 02:00:26PM -0400, Mark Allman wrote:
>  
> Here is the situation...  We have a program that is generating
> network traffic.  It splits off into lots of processes, each
> handling one TCP flow.  After the connection is terminated the
> process goes away.  We can push this until we hit ~230 processes and
> then the machine panics in vm_map_entry_create.  We have plenty of
> virtual memory on these machines (~1 GB of VM; each process is ~300
> KB).  And, looking at the output of "top" right before the crash, it
> doesn't look like we're actually pushing against the VM limit at
> all.  The last time we ran this test, for instance, the last top
> output reported 258 processes and 256 sleeping.  

You probably need an increase in NMBCLUSTERS. Compiler a kernel with

options		NMBCLUSTERS=2048

and try it again.

- Frank