malloc storage memory leak?

Cal Heldenbrand cal at
Mon Jul 23 16:41:59 CEST 2012

Thanks for the clarification Andreas.  I'm running around 600k objects in
memory, which should be around 586MB of overhead.

If I could ask you guys your opinion -- is there a better way to configure
Varnish for my environment?  My backend is 22TB of mapping tiles, each file
being anywhere from 100bytes to 3KB.  So a small 4GB cache results in just
being an LRU, caching the most popular tiles.  Which makes outer zoom
levels very fast, but misses on almost all of the low parcel levels.

Thanks for any advice!


On Mon, Jul 23, 2012 at 2:39 AM, Andreas Plesner Jacobsen <apj at>wrote:

> On Thu, Jul 19, 2012 at 04:11:20PM -0500, Cal Heldenbrand wrote:
> >
> > Here's a screenshot of top.  This machine was set to malloc max at
> 5500MB.
> And it hasn't passed that. Remember that there's additional overhead of
> about
> 1KB/object outside the actual storage backend.
> > SMA.s0.g_bytes        5595155188          .   Bytes outstanding
> It has allocated 5.5G
> > SMA.Transient.g_bytes            0          .   Bytes outstanding
> And isn't gobbling up transient space at the moment.
> I don't see a problem (in varnish at least).
> --
> Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-dev mailing list