Re: [squid-users] Tuning problem in squid

From: Matus UHLAR - fantomas <uhlar_at_fantomas.sk>
Date: Sun, 14 Jun 2009 15:46:44 +0200

> On Fri, Jun 12, 2009 at 4:01 PM, Thanigairajan<methanigai_at_gmail.com> wrote:
> > i.e. I have Debian etch with squid,squidguard,shorewall.
> > Internet is  working in normal speed if clients are approx 50 .
> > If clients are approx 70 -100 it is getting very slow.
> >
> > I googled for tuning and done the following things,
> > redirect_children 10
> > cache_dir ufs /var/spool/squid 1000 16 256

On 12.06.09 16:30, Kinkie wrote:
> ufs is definitely not suited for anything but testing. Please try aufs
> instead.

Although you didn't provide your disks' size(s), I'd advise also increasing
on-disk cache size, 1G as the above is really small.

> > cache_mem 48 MB
>
> 48Mb of cache_mem on a 4gb server? This could definitely be raised.

increase the disk cache first, then play with cache_mem. The disk cache eats
some memory too and you shouldn't run out of the 4GB and should leave some
memory for disk cache too.
Also note that squid-2 is not very effective when having huge cache_mem
because of linear searching for memory-cached object.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Posli tento mail 100 svojim znamim - nech vidia aky si idiot
Send this email to 100 your friends - let them see what an idiot you are
Received on Sun Jun 14 2009 - 13:46:49 MDT

This archive was generated by hypermail 2.2.0 : Sun Jun 14 2009 - 12:00:03 MDT