Varnish malloc issue

sujith pv sujithnss at
Thu Sep 1 11:11:30 CEST 2016


Please find the below memory of Varnishd in my case (result from TOP

[image: Inline image 3]
Here 14.9g being VIRT and 11g being RES.

@Andreas : Apologies for starting a new thread as previous thread got
diverted in between by a different query by someone. Actually I'm very
newbie to Varnish and just learning and trying to sort out issues.

Best Regards
Sujith P V

On Thu, Sep 1, 2016 at 1:23 PM, Guillaume Quintard <
guillaume at> wrote:

> Is that virtual or real memory?
> Try to cap your Transient storage to 1GB, you may be overloaded with short
> lived objects.
> On Sep 1, 2016 9:40 AM, "sujith pv" <sujithnss at> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mem.png
Type: image/png
Size: 1287 bytes
Desc: not available
URL: <>

More information about the varnish-misc mailing list