Re: Out of FD - answer is not in FAQ

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 17 Sep 1999 03:52:04 +0200

Martin Och wrote:

And what does it say PRIOR to this? I..e what is the failure causing
Squid to adjust it's FD usage?

> Reserved FD adjusted from 100 to 917 due to failures
> Your cache running out of filedescriptors
> Your cache running out of filedescriptors

> Please, what is BAD?

It may be that your Linux box runs out of ports, but as you omitted the
error I can't tell for sure.

try (as root)
echo 1024 32768 >/proc/sys/net/ipv4/ip_local_port_range

For very large (3000+ concurrent connections) Linux servers you may also
have to tune /proc/sys/fs/file-max and /proc/sys/fs/inode-max.

--
Henrik Nordstrom
Spare time Squid hacker
Received on Thu Sep 16 1999 - 20:24:17 MDT

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