Subject: Re: Time to bump the default open files limit?
To: David Laight <david@l8s.co.uk>
From: Greg A. Woods <woods@weird.com>
List: tech-kern
Date: 06/21/2002 20:21:27
[ On Friday, June 21, 2002 at 23:27:36 (+0100), David Laight wrote: ]
> Subject: Re: Time to bump the default open files limit?
>
> > It's not that kind of a soft limit though -- I think you have to change
> > OPEN_MAX if you're going to bump the default value for ulimit(nofiles).
> 
> Maybe I'll code up a change so that the kernel doesn't have a liimit.
> (Just leaves a process having some kernel memory - and each open
> file need that further down the line anyway...)

per-process limits are necessary so long as what they're limiting is a
globally shared, and limited, resource.

> > I don't know of any unix or unix-like multi-user systems that only
> > allow(ed) 64 open files as as a hard limit (assuming you're talking
> > about the hard limit enforced by MAXFILES aka kern.maxfiles, since
> > that's the only hard limit w.r.t. open files).
> 
> Erm the 'traditional' limit was 20.

You're talking about OPEN_MAX, not MAXFILES.

-- 
								Greg A. Woods

+1 416 218-0098;  <gwoods@acm.org>;  <g.a.woods@ieee.org>;  <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>