max filedescriptor on linux

From: Rolf Schulz <rs@dont-contact.us>
Date: Mon, 14 Feb 2000 21:57:14 +0100 (MET)

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 - 14:07:14 MST

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