Re: [squid-users] Cache is running out of filedescriptors

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 20 Jul 2007 22:39:18 +0200

On lör, 2007-07-21 at 00:13 +0545, Tek Bahadur Limbu wrote:

> You need to increase the size of _FD_SETSIZE in your
> /usr/include/bits/typesizes.h file.

No you don't. Hasn't been needed since Squid-2.5.something (don't
remember exact version, many many years ago).

> After increasing the above value to 8192, you type ulimit -HSn 8192 and
> compile Squid.

This, or --max-fd=NN configure option is needed however. And you also
need to raise the ulimit when Squid is started.

Regards
Henrik

Received on Fri Jul 20 2007 - 14:39:34 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Aug 01 2007 - 12:00:03 MDT