Messages in this thread | | | Date | Tue, 25 Nov 1997 11:52:46 +0100 | From | Pavel Machek <> | Subject | Re: 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/ ;-).
| |