Re: Too many open files error

Alan Cox (alan@lxorguk.ukuu.org.uk)
Thu, 11 Mar 1999 21:05:06 +0000 (GMT)


> The option/parameter is called NR_OPEN and is used with OPEN_MAX in limits.h
> in ./linux/include/linux. I think in kernel 2.2.x it has the same place, so
> you can edit it manually. A standard NR_OPEN_STD would be overriden during
> compilation of the kernel (that's the way I did).
> I increased the number to 2048 and its working.

Its actually not a good idea to change the per process max without the big
fd patch in 2.0 -you risk corruption from kernel stack overflows

> A question of mine: I am using SuSE6.0 still trying to upgrade to 2.2.x but
> after rebooting machine (compilation of the kernel is ok) it hangs up with
> the message:
> "Loading.....
> Uncompressing kernel... Now booting the kernel...."

Does 2.2.3 still do this. If so move console_init() to just before time_init
in init/main.c ,rebuild and report the oops

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/