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

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Sat, 21 Jul 2007 17:35:50 +0545

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".

I will use this option in my Squid boxes running on Linux in the future.

Thanking you...

>
> Regards
> Henrik

-- 
With best regards and good wishes,
Yours sincerely,
Tek Bahadur Limbu
(TAG/TDG Group)
Jwl Systems Department
Worldlink Communications Pvt. Ltd.
Jawalakhel, Nepal
http://www.wlink.com.np
Received on Sat Jul 21 2007 - 05:51:25 MDT

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