[Varnish] #546: Varnish eating up my memory
Varnish
varnish-bugs at projects.linpro.no
Thu Sep 3 00:11:53 CEST 2009
#546: Varnish eating up my memory
----------------------+-----------------------------------------------------
Reporter: hp197 | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone: Varnish 2.1 release
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by kb):
You're telling Varnish to use 5GB, and you're surprised it's using 1.5GB?
Or are you surprised that it's using 5-6GB? The latter is expected -- 5GB
is simply the object cache, not other necessary in-memory structures
(including pthread stack allocation -- try adding "ulimit -s 1024" to your
start script). PHK's explanation is concise.
If they're using too much RAM for your box, decrease your instances' -s
parameters until they fit. Unless you're seeing a resident memory size of
1.5-2x your -s argument, there's nothing wrong here, IMHO.
Varnish has been used flawlessly over *much* heavier traffic than yours,
if that's what you're asking.
--
Ken
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/546#comment:16>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list