Varnish malloc issue

sujith pv sujithnss at gmail.com
Tue Sep 6 08:07:48 CEST 2016


Thanks Guillaume. I will try the transient settings first and verify the
same. Also could you please elaborate on the short lived objects.

Best Regards
Sujith P V

On Fri, Sep 2, 2016 at 11:24 AM, Guillaume Quintard <
guillaume at varnish-software.com> wrote:

> Hi Viktor,
>
> Have a look here https://www.varnish-cache.org/docs/trunk/users-
> guide/storage-backends.html#transient-storage
>
> Sujith, please try to use a packaged version from your distribution.
>
> --
> Guillaume Quintard
>
> On Fri, Sep 2, 2016 at 1:18 AM, Viktor Villafuerte <
> viktor.villafuerte at optusnet.com.au> wrote:
>
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20160906/c2820b34/attachment.html>


More information about the varnish-misc mailing list