Re: LINUX V2.0.29 and SQUID - Any kernel parameters to update ?

From: Bill Wichers <billw@dont-contact.us>
Date: Mon, 8 Sep 1997 15:26:17 -0400 (EDT)

You need to into usr/include/linux/fs.h and change the following two
variables:

#define NR_OPEN 1024
#define NR_FILE 1024

I use 1024, but you can set it to whatever you want. Then you need to go
into /usr/include/linux/limits.h and change the following:

#define NR_OPEN 1024
#define OPEN_MAX 1024

Then you have to recompile the kernel :-) You can probably get by with
1024 filedescriptors unless you are running an extreamly busy cache.

        -Bill

On Mon, 8 Sep 1997, Walter Klomp wrote:

> Hi,
>
> I compiled squid on RedHat 2.0.29 as well, but see that there are only 256
> File-Descriptors available, now I am not very into Linux yet, so maybe
> somebody could tell me how to change the max number of filedescriptors and
> other parameters I might need to change for a smooth squid-performance.
>
> Thanks in Advance
>
> Walter
>
>
> At 04:44 PM 9/8/97 +1000, Karl Habres wrote:
> >Hi all,
> >
> >I am in the process of upgrading our LINUX gateway and i would like to
> >know if which is the current stable version of SQUID that will run on this
> >version of LINUX V2.029.
> >
> >We currently run LINUX V1.2.8 (I know old!!! but stable) and a version of
> >squid not quite so old.
> >
> >Regards
> >
> >Karl Habres
> >karl@ccasoftware.com.au
> >
> >
> ===========================================================
> Walter Klomp,
> Systems Manager / Administrator (Internet)
> Swiftech Automation Pte. Ltd.
> 25 Kallang Avenue #05-04, Kallang Basin Ind. Est.
> Singapore 339416
> Tel. 274 4722 ext. 163 - Fax. 274 4966
> e-mail: walter@swiftech.net.sg
> http://www.swiftech.net.sg
> ===========================================================
> Very Funny Scotty, now beam up my clothes !!!
> Captain James T. Kirk, Starship Enterprise.
> ===========================================================
>
Received on Mon Sep 08 1997 - 12:33:26 MDT

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