Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Oct 1998 15:03:21 -0800 (AKDT)
From:      groggy@iname.com
To:        freebsd-questions <questions@FreeBSD.ORG>, Mark Huizer <freebsd@xaa.iae.nl>
Subject:   Re: squid VM
Message-ID:  <Pine.BSF.3.96.981002145535.575F-100000@abc.xyz.net>
In-Reply-To: <19981002204351.B537@xaa.iae.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.981002145535.575F-100000>