Subject: Re: file handles
To: Chris Jones <cjones@honors.montana.edu>
From: David Brownlee <abs@anim.dreamworks.com>
List: port-pmax
Date: 05/06/1998 18:23:15
MAXUSERS can be used to affect the default in NetBSD, from
/sys/conf/conf/param.c:
#ifndef NPROC
#define NPROC (20 + 16 * MAXUSERS)
#endif
int maxfiles = 3 * (NPROC + MAXUSERS) + 80;
Also sysctl can be used to tune the current value dynamically
(sysctl -w kern.maxfiles=N)
Hmm... it should probably be tunable specifically at compile
time...
David/absolute
-=- Maybe your misinterpretation of my actions is
in conflict with your misconception of who I am -=-
On Wed, 6 May 1998, Chris Jones wrote:
> How can I find out how many file handles the kernel can support?
>
> One of our ultrix boxes is getting ready to be converted to NetBSD. It
> used to have trouble with too many ftpd's open at once, and they would
> eventually suck up all the file handles. We had to increase that by
> raising maxusers. What's the equivalent limit in NetBSD?
>
> Chris
>
> -------------------------------------------------------------------------------
> Chris Jones cjones@rupert.oscs.montana.edu
> Mad scientist in training...
> "Is this going to be a stand-up programming session, sir, or another bug hunt?"
>