Hi, Frank,

  First of all, I recompiled & installed 2.0.34 last night. That was before I
got your mail. What I did was editing /usr/src/linux/include/linux/fs.h and I
replaced

#define NR_OPEN 256
with
#define NR_OPEN 512.

Recompiled and installed, and everything works just fine, but a 'cat
/proc/sys/kernel/file-max' gives me 1024. Don't know why... Maybe somebody can
make some light in all this... Thanks, anyway!

Gevaerts Frank wrote:

> On Tue, 22 Sep 1998, Bogdan Taru wrote:
>
> >
> >       Hi,
> >  I recently began to get some error messages about too few file
> > descriptors (256). Where can I change this number (to 1024, for example)?
> > I guess in the Linux kernel, but where?
>
> In a recent kernel, (2.0 or later i guess) , try
> "echo 1024>/proc/sys/kernel/file-max"
> I think that should work, but I'm not sure.
>
> Frank
>
> > Have fun,
> > bogdan

--
Have fun,
bogdan


Reply via email to