Re: max filedescriptor on linux

From: Ahsan Khan <ahsank@dont-contact.us>
Date: Tue, 15 Feb 2000 03:04:04 +0500

Hi,

Well i was also trying the same on RedHat but , I just have done after
reading u r mail ,

The Only Difference is the change in /proc/sys/fs/file-max i have made that
4098 and now after recompiling the squid its wroking with that much ,

With Regards
Ahsan Khan
Sr. System Admin
Internet Division (OneNet)
Sun Communication Pvt. Ltd.
http://www.one.net.pk

----- Original Message -----
From: "Rolf Schulz" <rs@gnsec.de>
To: <squid-users@ircache.net>
Sent: Tuesday, February 15, 2000 1:57 AM
Subject: max filedescriptor on linux

>
> Hi folks,
> I'm running out of FD's on our system, so i tried to compile squid
> with 2048 FD's max. Building the program was fine, but after starting
> squid, the cache.log says :
> 2000/02/14 21:30:19| Starting Squid Cache version 2.3.STABLE1 for
> i686-pc-linux-gnu...
> 2000/02/14 21:30:19| Process ID 17800
> 2000/02/14 21:30:19| With 1024 file descriptors available
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> The parameters in :
> autoconf.h:#define DEFAULT_FD_SETSIZE 2048
> autoconf.h:#define SQUID_MAXFD 2048
>
> in /usr/include/bits/types.h FD_SETSIZE 2048
>
> I also had ulimit -Hn 2048
> System is Linux 2.2.13 (SUSE 6.3 Dist.)
>
>
> What's wrong ???
>
> Rolf
>
>
>
Received on Mon Feb 14 2000 - 15:05:10 MST

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