Re: WARNING!

From: Miquel van Smoorenburg <list-squid@dont-contact.us>
Date: 28 May 1999 13:51:23 +0200

In article <cistron.199905281953.PAA04905@mail.inet.com.pk>,
Irfan Akber <irfan@inet.com.pk> wrote:
>Is it under Linux ? If yes then change the value of NR_OPEN to 1024 in the
>source code of Linux 2.2 kernel.

BAD advice!

1. Linux 2.2 already has 1024 filedescriptors per process
2. Linux 2.0 doesn't, but you cannot just change some constants-
   it will _seem_ to work but fail at 300-400 filedescriptors.
   You need a special patch (filehandle.patch.linux)

Just use an unmodified 2.2.x kernel (as long as x > 2 and x != 5 and x != 8)

Mike.

-- 
Indifference will certainly be the downfall of mankind, but who cares?
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
Received on Fri May 28 1999 - 06:19:15 MDT

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