Varnish malloc issue

Viktor Villafuerte viktor.villafuerte at optusnet.com.au
Fri Sep 2 01:18:32 CEST 2016


Hi Guillaume,

On Thu 01 Sep 2016 09:53:22, Guillaume Quintard wrote:
> Is that virtual or real memory?
> Try to cap your Transient storage to 1GB, you may be overloaded with short
> lived objects.

Could you elaborate on this bit more? I've got very similar problem
here. Eg: Total memory 384g

VIRT: 487g
RES:  311g

free says: 46g free

but SWAP is 91.3% used :(


How can this be?


thanks

v


> 
> On Sep 1, 2016 9:40 AM, "sujith pv" <sujithnss at gmail.com> wrote:
> 
> > Hi All
> >
> > I had already mailed this query long back but this time putting in a
> > different manner.
> >
> >
> >    - We are using Varnish 4.0 in our end. We have a machine with memory
> >    of 16G with 8G being malloc for Varnish. We have a TTL for 2 hrs as well.
> >    - During our peak traffic, when we see the total memory of the machine
> >    reaching 90% and like varnishd process is taking some 89% .
> >    - So I'm just confused even though we had allocated just 8G malloc
> >    which is like 50% of the total memory, how the process is eating up 89% of
> >    memory and the memory is not releasing even after TTL.
> >
> >
> > Any help please...
> >
> > Best Regards
> > Sujith P V
> >
> > _______________________________________________
> > varnish-misc mailing list
> > varnish-misc at varnish-cache.org
> > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
> >

> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc


-- 
Regards

Viktor Villafuerte
Optus Internet Engineering
t: +61 2 80825265



More information about the varnish-misc mailing list