Hi Gavin,

you should configure system (kernel) with:

echo "1024 2048 3072" > /proc/sys/vm/freepages
echo 4096 > /proc/sys/fs/file-max

put that commands in /etc/rc.boot/<some file> and try it out..
And you have to compile squid to use more than 1024 file descriptors.
./configure --file-description 4096 or some other switch of ./configure command.
With some switch then configure compile squid with system limit (whitch is
expanded by earlier with echo).
Hope it would help,

 Ivan


> -----Original Message-----
> From: Gavin [mailto:gavin.lists@;raha.com]
> Sent: Thursday, October 17, 2002 1:25 PM
> To: [EMAIL PROTECTED]
> Subject: [isp-caching] squid - file descriptors
>
>
> Hello,
>
> I'm having some trouble with running out of file descriptors on a
> slackware-8.1 (2.4.18) box running squid-2.5.stable1.
>
> I've tried setting SQUID_MAXFD in the squid configure script, OPEN_MAX in
> /usr/include/linux/limits.h and /proc/sys/fs/file-max to 65536, but after
> making clean and recompiling squid I still see it starting with only 1024
> file descriptors available.
>
> Does anyone know another way of increasing the number of file descriptors?
>
> Thanks,
>
> Gavin White
> raha.com
>
>
>
> ____________  The ISP-CACHING Discussion List  ___________
> To Join: mailto:join-isp-caching@;isp-caching.com
> To Remove: mailto:remove-isp-caching@;isp-caching.com
> Archives: http://isp-lists.isp-planet.com/isp-caching/archives/
>


____________  The ISP-CACHING Discussion List  ___________
To Join: mailto:join-isp-caching@;isp-caching.com
To Remove: mailto:remove-isp-caching@;isp-caching.com
Archives: http://isp-lists.isp-planet.com/isp-caching/archives/

Reply via email to