bitrate and memory allocated

Miguel González miguel_3_gonzalez at yahoo.es
Mon Sep 5 19:19:41 CEST 2016


> 
> <insert here usual advice to upgrade to 4.1 soon>

I have just upgraded. Didn´t know that there was a yum/rpm installation
already





> Look at the varnish-counters manual for better understanding.
> SMA.*.c_bytes is the counter for all bytes allocated by your malloc
> storage while SMA.*.g_bytes is the gauge for the current amount of
> allocated bytes.

Any URL? I have googled for a few hours but I didn´t get a clear
understanding from the official manuals.




>>>  varnishstat -1 |grep SMA
>>> SMA.s0.c_req                             33969         0.76 Allocator
>>> requests
>>> SMA.s0.c_fail                                0         0.00 Allocator
>>> failures
>>> SMA.s0.c_bytes                       984052835     21896.06 Bytes allocated
>>> SMA.s0.c_freed                       395844358      8807.89 Bytes freed
>>> SMA.s0.g_alloc                           19833          .   Allocations
>>> outstanding
>>> SMA.s0.g_bytes                       588208477          .   Bytes
>>> outstanding
>>> SMA.s0.g_space                      5854242467          .   Bytes available
> 
> Why is your Transient storage missing? By default it's an unbounded
> malloc storage.

I took away that part:

SMA.s0.c_req                             73478         0.72 Allocator
requests
SMA.s0.c_fail                                0         0.00 Allocator
failures
SMA.s0.c_bytes                      2277130716     22386.92 Bytes allocated
SMA.s0.c_freed                       452652599      4450.12 Bytes freed
SMA.s0.g_alloc                           52489          .   Allocations
outstanding
SMA.s0.g_bytes                      1824478117          .   Bytes
outstanding
SMA.s0.g_space                      4617972827          .   Bytes available
SMA.Transient.c_req                     174076         1.71 Allocator
requests
SMA.Transient.c_fail                         0         0.00 Allocator
failures
SMA.Transient.c_bytes               1611603457     15843.99 Bytes allocated
SMA.Transient.c_freed               1611595873     15843.92 Bytes freed
SMA.Transient.g_alloc                       10          .   Allocations
outstanding
SMA.Transient.g_bytes                     7584          .   Bytes
outstanding
SMA.Transient.g_space                        0          .   Bytes available


Thanks!

Miguel




More information about the varnish-misc mailing list