Re: file desciptor on linux > 2.0.33

From: Umar Goldeli <umar@dont-contact.us>
Date: Wed, 15 Apr 1998 20:25:15 -0500 (EST)

Ok, I've been looking at the filedescriptor threads for a while now and
have always been baffled at why a *patch* is needed... why not do it nice
and manually?

Edit /usr/include/linux/fs.h and change the following two variables:

#define NR_OPEN 1024
#define NR_FILE 1024

Feel free to set it to greater than 1024. Then edit
/usr/include/linux/limits.h and change the following:

#define NR_OPEN 1024
#define OPEN_MAX 1024

Then you have to recompile the kernel.

Voila! Guaranteed to work(1). :)

Cheers,
Umar.

1. Conditions apply. *grin*

--
Umar Goldeli
SYNFLUX International P/L.
P.O. Box 98, Five Dock, N.S.W. 2046, Australia
e-mail: umar@synflux.com.au 		Phone: +612-9712-2411
WWW   : http://www.synflux.com.au	Fax  : +612-9712-2399
On 15 Apr 1998, Riccardo Vratogna wrote:
> 
> Exist a a fileds descriptor patch for linux 2.0.33?
> The current release work only on 2.0.30 , very unstable version!
> 
> thanks.
> 
Received on Wed Apr 15 1998 - 03:38:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:42 MST