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

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Sat, 21 Jul 2007 17:02:13 +0200

On lör, 2007-07-21 at 17:35 +0545, Tek Bahadur Limbu wrote:
> Henrik Nordstrom wrote:
> > 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.
>
> Hi Henrik,
>
> Thanks for correcting me. By the way, I don't see the "--max-fd=NN"
> option with "./configure --help".

My error, it's --with-maxfd=NN. Don't type it often as it's buried in
the build script..

Regards
Henrik

Received on Sat Jul 21 2007 - 09:02:27 MDT

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