Subject: Re: CVS commit: src/sys/arch/i386/include
To: David Laight <david@l8s.co.uk>
From: Perry E. Metzger <perry@piermont.com>
List: source-changes
Date: 09/21/2005 23:49:44
David Laight <david@l8s.co.uk> writes:
> On Wed, Sep 21, 2005 at 09:19:36AM -0500, James Chacon wrote:
>> 
>> 64 is general is a fairly low default though. 256 would be better.
>
> True, but the hard limit should be reduced to (say) 1024.
> At the moment any user can consume all the kernel 'file' data areas.

I have written programs that make good use of more than 1024 file
descriptors -- anyone can with something like libevent. If there are
problems with kernel resources being used up, we should fix those
instead of artificially limiting users to old fashioned and inadequate
programming techniques.

Perry