bitrate and memory allocated

Miguel González miguel_3_gonzalez at yahoo.es
Mon Sep 26 23:48:21 CEST 2016


ps -aux |grep varnish
Warning: bad syntax, perhaps a bogus '-'? See
/usr/share/doc/procps-3.2.8/FAQ
root      4487  0.0  0.0 103312   820 pts/0    S+   23:47   0:00 grep
varnish
varnish  18206  0.0  0.0 119904  4932 ?        Ss   Sep22   1:28
/usr/sbin/varnishd -a :80 -f /etc/varnish/default.vcl -T 127.0.0.1:6082
-t 120 -p thread_pools=1 -p thread_pool_add_delay=2 -p
thread_pool_min=500 -p thread_pool_max=2000 -p thread_pool_timeout=120
-p http_gzip_support=true
varnish  18210  1.6  3.5 996192 756816 ?       Sl   Sep22 103:53
/usr/sbin/varnishd -a :80 -f /etc/varnish/default.vcl -T 127.0.0.1:6082
-t 120 -p thread_pools=1 -p thread_pool_add_delay=2 -p
thread_pool_min=500 -p thread_pool_max=2000 -p thread_pool_timeout=120
-p http_gzip_support=true



On 09/26/16 9:40 AM, Guillaume Quintard wrote:
> Your varnishstat doesn't seem to indicate that (s0.g_bytes + s0.g_space
> = 100M). Can you give us the output of "ps aux | grep varnish" ?
> 
> -- 
> Guillaume Quintard
> 
> On Sun, Sep 25, 2016 at 10:14 PM, Miguel González
> <miguel_3_gonzalez at yahoo.es <mailto:miguel_3_gonzalez at yahoo.es>> wrote:
> 
>     Still I don´t understand the numbers. I have set the Varnish storage in
>     memory of 6 Gb:
> 
>     SMA.s0.c_req                           1040458         3.53 Allocator
>     requests
>     SMA.s0.c_fail                           715580         2.43 Allocator
>     failures
>     SMA.s0.c_bytes                      8027903959     27242.60 Bytes
>     allocated
>     SMA.s0.c_freed                      7923307928     26887.65 Bytes freed
>     SMA.s0.g_alloc                            5217          .   Allocations
>     outstanding
>     SMA.s0.g_bytes                       104596031          .   Bytes
>     outstanding
>     SMA.s0.g_space                          261569          .   Bytes
>     available
>     SMA.Transient.c_req                     236994         0.80 Allocator
>     requests
>     SMA.Transient.c_fail                         0         0.00 Allocator
>     failures
>     SMA.Transient.c_bytes               2047296885 <tel:2047296885>     
>     6947.48 Bytes allocated
>     SMA.Transient.c_freed               2047294773 <tel:2047294773>     
>     6947.47 Bytes freed
>     SMA.Transient.g_alloc                        6          .   Allocations
>     outstanding
>     SMA.Transient.g_bytes                     2112          .   Bytes
>     outstanding
>     SMA.Transient.g_space                        0          .   Bytes
>     available
> 
> 
> 
>     On 09/23/16 11:16 AM, Guillaume Quintard wrote:
>     > Focus on g_space (free space in the storage) and g_bytes (used bytes in
>     > the storage).
>     >
>     > --
>     > Guillaume Quintard
>     >
>     > On Tue, Sep 6, 2016 at 12:08 PM, Miguel González
>     > <miguel_3_gonzalez at yahoo.es <mailto:miguel_3_gonzalez at yahoo.es>
>     <mailto:miguel_3_gonzalez at yahoo.es
>     <mailto:miguel_3_gonzalez at yahoo.es>>> wrote:
>     >
>     >     On 09/05/16 10:44 PM, Dridi Boukelmoune wrote:
>     >     >> Any URL? I have googled for a few hours but I didn´t get a clear
>     >     >> understanding from the official manuals.
>     >     >
>     >     > https://www.varnish-cache.org/docs/4.1/reference/varnish-counters.html#per-malloc-storage-counters-sma
>     <https://www.varnish-cache.org/docs/4.1/reference/varnish-counters.html#per-malloc-storage-counters-sma>
>     >     <https://www.varnish-cache.org/docs/4.1/reference/varnish-counters.html#per-malloc-storage-counters-sma
>     <https://www.varnish-cache.org/docs/4.1/reference/varnish-counters.html#per-malloc-storage-counters-sma>>
>     >
>     >
>     >     I had read the 4.0 docs but I find them quite short and not very
>     >     explanatory. What are the counters? The current use of memory? The
>     >     amount allocated since Varnish was restarted (historical)? At least for
>     >     me, I would like an example to better understand what those counters
>     >     mean.
>     >
>     >     Thanks
>     >
>     >     Miguel
>     >
>     >     _______________________________________________
>     >     varnish-misc mailing list
>     >     varnish-misc at varnish-cache.org
>     <mailto:varnish-misc at varnish-cache.org>
>     <mailto:varnish-misc at varnish-cache.org
>     <mailto:varnish-misc at varnish-cache.org>>
>     >   
>      https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>     <https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc>
>     >   
>      <https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>     <https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc>>
>     >
>     >
> 
> 




More information about the varnish-misc mailing list