[squid-users] Re: running out of filedescriptors in squid-2.5.PRE*

From: Joe Cooper <joe@dont-contact.us>
Date: Fri, 05 Apr 2002 10:27:29 -0600

How many available file descriptors does Squid tell you it has?

client mgr:info

Will tell you.

What request rate?

Jack wrote:
> Hello Joe,
> I installed squid in Redhat linux-7.1 kernel-2.4.17 in p-III 600 MHz with
> 762 MB RAM.
> I test squid-2.5.PRE5 with polygraph
> I get error as
> WARNING! Your cache is running out of filedescriptors
> in cache log.
>
> I configured squid with aufs 20 threads.
> My cache_dir entry as
> cache_dir aufs /cache0 6000 14 256
> cache_dir aufs /cache1 6000 14 256
>
> ulimit -a shows
> core file size (blocks) 1000000
> data seg size (kbytes) unlimited
> file size (blocks) unlimited
> max locked memory (kbytes) unlimited
> max memory size (kbytes) unlimited
> open files 16384
> pipe size (512 bytes) 8
> stack size (kbytes) 16384
> cpu time (seconds) unlimited
> max user processes 6143
> virtual memory (kbytes) unlimited
>
> i checked config.status in squid
> ${ac_dA}DEFAULT_FD_SETSIZE${ac_dB}DEFAULT_FD_SETSIZE${ac_dC}16384${ac_dD}
> ${ac_uA}DEFAULT_FD_SETSIZE${ac_uB}DEFAULT_FD_SETSIZE${ac_uC}16384${ac_uD}
> ${ac_eA}DEFAULT_FD_SETSIZE${ac_eB}DEFAULT_FD_SETSIZE${ac_eC}16384${ac_eD}
> ${ac_dA}SQUID_MAXFD${ac_dB}SQUID_MAXFD${ac_dC}16384${ac_dD}
> ${ac_uA}SQUID_MAXFD${ac_uB}SQUID_MAXFD${ac_uC}16384${ac_uD}
> ${ac_eA}SQUID_MAXFD${ac_eB}SQUID_MAXFD${ac_eC}16384${ac_eD}
>
> i tried with all squid-2.5.PRE* versions.
>
> I want to use tcp_outgoing option to specifiy acl which is only in
> squid-2.5.PRE thats why i went to PRE version.
>
> What configuration should i want to change
>
> Thanks
> Jack

-- 
Joe Cooper <joe@swelltech.com>
http://www.swelltech.com
Web Caching Appliances and Support
Received on Fri Apr 05 2002 - 09:30:01 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:22 MST