lkml.org 
[lkml]   [1998]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: More FD's in 2.0.33
On Tue, 24 Mar 1998, Shane Anderson wrote:

> I'm looking for the *RIGHT* way to get more open files in 2.0.33.
> I've downloaded Michael O'Reilly's patch, but it had problems with
> portmapper (on RedHat 5.0 w/ all the latest updates) crapping
> out--apparently due to bad file descriptors, which I think was due to
> the dynamic allocation done in this patch. So, since then I've tried
> to just change the #define's that I believe matter, namely:

You need some variation of the kmalloc patch, otherwise you risk
overflowing space in the kernel, and then bad things happen. Someone had
mentioned that even with the limit raised to 3000, the default should
still be set to 256, and that programs should use setrlimit to raise the
limit when necessary. That may fix your problem.


------------------------------------------------------------------
Jon Lewis <jlewis@fdt.net> | Unsolicited commercial e-mail will
Network Administrator | be proof-read for $199/message.
Florida Digital Turnpike |
______http://inorganic5.fdt.net/~jlewis/pgp for PGP public key____


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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