Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 1999 20:39:57 +1000 (EST)
From:      Andrew MacIntyre <andymac@bullseye.apana.org.au>
To:        Jaime <jaime@snowmoon.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Squid & heavy swapping
Message-ID:  <Pine.OS2.3.95.990827202945.571B-100000@CENTRAL>
In-Reply-To: <19990826011038.6BDFD153B5@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 25 Aug 1999, Jaime wrote:

> 	Does anyone know what I can do to make this work better?  I can't upgrade 
> the RAM, unfortunately.  However, the same amount of RAM was fine when I used 
> the older software (2.2.5-RELEASE and 1.1 (not even the NOVM version)).  Is 
> there something that I'm over looking?  A squid.conf setting that I should 
> make, perhaps?

2 things I've encountered on the squid box I administer:-
- tuning squid's resource utilisation.  I looked at the cache statistics,
and found that the average document size was noticeably different than
the default, amongst other things.  I also looked at the DNS stats and
found that 99.99% of requests were being satisfied by 2 DNS server
processes, so reduced to 3 (for safety) from 5.  I also found that even
with v2.1.x, the in-core footprint was such that I had to reduce the size
of the cache to meet the memory constraints (ie avoid paging).
 - I restart the squid daemon once a week from a cron job - without this,
the memory leak gets out of hand.  This with versions 1.1.2x and 2.1.x.

Your milage will vary, 
am
--
Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andrew.macintyre@aba.gov.au    (work) | Snail: PO Box 370
        andymac@bullseye.apana.org.au  (play) |        Belconnen  ACT  2616
Fido:   Andrew MacIntyre, 3:620/243.18        |        Australia



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OS2.3.95.990827202945.571B-100000>