Date: Sun, 4 Oct 1998 07:32:47 +1100 (EDT) From: Andrew MacIntyre <andymac@bullseye.apana.org.au> To: groggy@iname.com Cc: freebsd-questions <questions@FreeBSD.ORG>, Mark Huizer <freebsd@xaa.iae.nl> Subject: Re: squid VM Message-ID: <Pine.OS2.3.95.981004072228.532B-100000@CENTRAL> In-Reply-To: <Pine.BSF.3.96.981002145535.575F-100000@abc.xyz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Oct 1998 groggy@iname.com wrote: > ps aux reports (for squid): > > %MEM VSZ RSS > 34.8 22092 10776 > > since i'm not familiar with how squid will > continue to use my resources as the cache > grows, i'm just trying to get a idea from > someone that uses squid with a 1 Gig cache > or so. i know it's a VM hog, else they > wouldn't have a NOVM version ... > > from what i've read, the VM squid > uses will continue to grow as the > cache increases in size, since it > keeps all it's references to the > cache data in memory ... > > if 128M of data uses 20+ Megs of > VM, i may be in trouble by the time > the cache reaches 800M in size. {...} squid.conf contains a directive to set the maximum amount of VM to use, defaulting to 8MB. AFAIR, the VM is just a cached index to the object cache, so when the VM is full the LRU entries are dropped just as they are from the object cache. The rule I have used on the couple of machines I've configured to run squid (as their primary purpose) is for the VM to be limited to half the amount of real ram. This is probably far from optimal, but appears to be working satisfactorily. -- 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.981004072228.532B-100000>