Re: [squid-users] you cache is running out of filedescriptors in ubuntu

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 12 May 2011 01:16:20 +1200

On 12/05/11 00:39, Carlos Manuel Trepeu Pupo wrote:
> 2011/5/11 Amos Jeffries<squid3_at_treenet.co.nz>:
>> On Tue, 10 May 2011 16:10:38 -0400, Carlos Manuel Trepeu Pupo wrote:
>>>
>>> Hi I have down all my work, I find some information to fix this but
>>> tell me modify /etc/default/squid and I don't have this file, what
>>> could I do? It's urgent !!!! I have squid 3.0 STABLE1
>>
>> Create the file if missing. It is an optional user-override config file.
>>
>> For 3.0 you need to add the ./configure --with-filedescriptors=NUMBER
>> option. Where NUMBER is something big enough not to die under your traffic
>> load. You also need to run "ulimit -n NUMBER" before starting Squid every
>> time.
>>
>>
>> The FD overflow could also be *two* of those "fixed" bugs I warned you about
>> the other day...
>>
>> 3.0 have issues with too many persistent connection FD being held. Which can
>> overflow the FD limits on certain types of traffic behaviour.
>>
>> 3.0 and early 3.1 have issues with connection garbage objects being released
>> very late in the transaction, which can waste FD.
>>
>> Amos
>>
>
> Thanks for all, this week or the next, I will change to the most
> recently STABLE version, then I will solve all this problem. There's
> someplace where I can find all the parameters to compile squid? Thanks
> again !!

For Ubuntu, this page lists the minimum required to integrate:
  http://wiki.squid-cache.org/KNowledgeBase/Ubuntu#Compiling

"./configure --help" lists the entire feature set available.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.12
   Beta testers wanted for 3.2.0.7 and 3.1.12.1
Received on Wed May 11 2011 - 13:16:26 MDT

This archive was generated by hypermail 2.2.0 : Wed May 11 2011 - 12:00:02 MDT