Re: [squid-users] file descriptor problem

From: Hement Gopal <[email protected]>
Date: Fri, 04 Jun 2004 08:48:43 +0200

hi muthukumar

Muthukumar wrote:

>>>What is your default ulimit -HSn saying?
>>>
>>how do i check for the default?
>>
>
> Execute on shell #ulimit -HSn ,It will give the value of the FD

[root@athena2 root]# ulimit -HSn
90000

>
>
>>did this previously but it has not made a difference. and yes, all
>>installs are done at root.
>>
>
> Do this,
> #ulimit -HSn 32768

i ran this command again, verified with ulimit -HSn (correct output)
recompiled, and still got the ff warning

checking Default FD_SETSIZE value... 256
checking Maximum number of filedescriptors we can open... 256
WARNING: 256 may not be enough filedescriptors if your
          cache will be very busy. Please see the FAQ page
          http://www.squid-cache.org/FAQ/FAQ-11.html#filedescriptors
          on how to increase your filedescriptor limit

i'm getting desperate :(

 
> Can you see the 32768 on the execution of #ulimit -Hsn
>
>
>>[root@athena2 fs]# more /proc/sys/net/ipv4/ip_local_port_range
>>32768 61000
>>
>
> It is good.
>
> Do the above on both kernels. If you get the modified FD,then configure the squid.
> Else there is a problem more to look-out.
>
> Regards,
> Muthukumar.
>
>
>
> ---
> =============== It is a "Virus Free Mail" ===============
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.693 / Virus Database: 454 - Release Date: 5/31/2004
>
>
>
Received on Fri Jun 04 2004 - 00:43:01 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:02 MDT