Re: max filedescriptor on linux

From: Darren Steven <dsteven@dont-contact.us>
Date: Tue, 15 Feb 2000 09:18:33 +1100

Rolf Schulz wrote:

> 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

Did you have the ulimit in the squid startup script?

--
Darren Steven
Applications Specialist
Networking Tasmania
Telstra Australia
Received on Mon Feb 14 2000 - 15:29:02 MST

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