lkml.org 
[lkml]   [1997]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: fork: out of memory
> Zlatko Calusic wrote:
> > Only thing I'm not sure at the moment is, would 4096 be a good idea?
> > That would require changes of some constants in kernel, which then
> > would require some software to be recompiled.
> >
> > But then again, if Solaris supports 4096 fd's, why shouldn't Linux?
> >
> > Can I have other's opinion on *that*?
>
> Yes! We're about to port a BSD application to Linux,
> and we expect (when it's run in a fully scaled system)
> that it could consume 4K fd's or more ... Is it possible
> to make this limit completely dynamic? That would help
> us a great deal ...

No.

Due to select() braindamage, nr. of files you can used at once is
defined by size of structures around select(). Too bad. Unix just _is_
broken, somewhere.

Pavel

--
I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.064 / U:2.252 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site