From owner-freebsd-questions Fri Oct 2 16:02:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20047 for freebsd-questions-outgoing; Fri, 2 Oct 1998 16:02:45 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from abc.xyz.net (froggy.anchorage.ptialaska.net [208.151.119.238]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20034 for ; Fri, 2 Oct 1998 16:02:40 -0700 (PDT) (envelope-from groggy@iname.com) From: groggy@iname.com Received: from localhost (localhost [127.0.0.1]) by abc.xyz.net (8.8.8/8.8.8) with SMTP id PAA01043; Fri, 2 Oct 1998 15:03:21 -0800 (AKDT) (envelope-from groggy@iname.com) Date: Fri, 2 Oct 1998 15:03:21 -0800 (AKDT) X-Sender: abc@abc.xyz.net To: freebsd-questions , Mark Huizer Subject: Re: squid VM In-Reply-To: <19981002204351.B537@xaa.iae.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 2 Oct 1998, Mark Huizer 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. > > i notice as time goes on, > > my machine uses more and more > > VM. i allocated 800M of cache > > to squid (2.2.7). at this point, > > the cache has ~128M of data ... > > > > my VM has gone from 0M used > > (when the system fired up) > > to 21M of 128M "in use". > > > > my question is, will i run out > > of VM before my cache fill up > > to it's 800M capacity? > > > The least you could do is look at ps and see which process is taking the > memory (or use top, or whatever). Otherwise you never know what it is. > Also: used swapspace doesn't mean trouble. It could be pages that were > swapped out but never returned to real memory because there was no need > for it. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message