Re: [squid-users] File Descriptor Limit and ulimit

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 25 Jun 2005 23:44:28 +0200 (CEST)

On Mon, 20 Jun 2005, Brad Taylor wrote:

> How do you know what is a good limit for file descriptors?

50% more than your peak usage.

> Is their a way to see if my Squid is running out?

It complains very loudly in cache.log about the fact when close to running
out.

> I know how to find the limit but not sure if I have it set right.

cachemgr allows you to inspect the current usage at any time.

> Does anyone know if CentOS linux requires a rebuilding of the kernel is
> the file descriptor is changed?

Most likely not.

> I'm reading from Squid : The Definitive Guide about File Descriptors and
> I'm getting a little confused. I want to make sure I have this setup
> correctly on my new squid server.

There is nothing in the Linux section saying you need to rebuild the
kernel.. it even explicitly says you don't need to reboot (page 16).

The FAQ is a little more up to date. You no longer need to do all the
steps mentioned in the book.

Regards
Henrik
Received on Sat Jun 25 2005 - 15:44:34 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:03 MDT