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 [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to