lkml.org 
[lkml]   [2000]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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:
<--cut->
> 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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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