From owner-freebsd-questions Fri Aug 27 4:19:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by hub.freebsd.org (Postfix) with ESMTP id 1DE5F15225 for ; Fri, 27 Aug 1999 04:19:05 -0700 (PDT) (envelope-from andymac@bullseye.apana.org.au) Received: from bullseye.apana.org.au (uucp@localhost) by posgate.acis.com.au (8.9.2/8.9.2/Debian/GNU) with UUCP id VAA28343; Fri, 27 Aug 1999 21:13:33 +1000 (EST) Received: from bullseye.apana.org.au (central.apana.org.au [203.9.107.245]) by bullseye.apana.org.au (8.8.8/8.8.8) with SMTP id UAA23090; Fri, 27 Aug 1999 20:41:43 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Fri, 27 Aug 1999 20:39:57 +1000 (EST) From: Andrew MacIntyre To: Jaime Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Squid & heavy swapping In-Reply-To: <19990826011038.6BDFD153B5@hub.freebsd.org> Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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