[lkml]   [2000]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: FAQ followup: changes in open fd/proc in 2.4.x?

On 17 Nov 2000, Doug Alcorn wrote:

> I am working on a project to port a commercial app to Linux. Our app
> is essentially a dataserver with approximately two files per database
> table. I did a search of this mailing lists archive on the subject
> and found a discussion back in the 2.0.x days when the limit was 256.
> Basically the discussion went like this:
> With the 2.2.x kernel, our choices are basically to live with the
> limitation or redesign. We certainly don't like the limitation and
> are talking about a redesign.
I have some similar problems on 2.2.xx , and i do the following:
echo 65535 >/proc/sys/fs/file-max
and then in the scripts that start the programs:
ulimit -n 65535
And everyting is fine... Even better, you can use setrlimit() to set this
in your program...( and even do the echo ... > ... there :))) )

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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