<div>
<div>Hi,<br /> <br />I have the same problem, but it is using  system memory.</div>
<div> </div>
<div>/opt/varnish30/sbin/varnishd -V<br />varnishd (varnish-3.0.3 revision 9e6a70f)</div>
<div> </div>
<div># free -m<br />             total       used       free     shared    buffers     cached<br />Mem:         32095      31078       1016          0        665       5400<br />-/+ buffers/cache:      25012       7082<br />Swap:         2047        473       1574</div>
<div> </div>
<div>But, the weird thing is the memory usage shown on TOP: </div>
<div>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  SWAP COMMAND                                                                                                                                      <br />11514 varnish   20   0  124g  22g  81m S 44.1 73.0   2290:24 101g varnishd</div>
<div> </div>
<div> </div>
<div>Varnishd was started with: -s malloc,20G -w 5000,5000,120</div>
<br /> regards,</div>
<div> </div>
<div>Leandro Sano.</div>
<div> </div>
<hr style="border-top: 1px solid #ccc;" />
<div>Em 20/03/2013 09:59, <strong>Sean Allen < sean@monkeysnatchbanana.com ></strong> escreveu:</div>
<div dir="ltr">
<div class="gmail_extra">
<div>We ran a batch job last night that moves everything possible through the cache. Thus the eviction numbers and the currently low hit rate as 'active' records start to be pulled through at the start of our business day:</div>
<div> </div>
<div>
<div>0+11:37:21</div>
<div>Hitrate ratio:       10      100     1000</div>
<div>Hitrate avg:     0.5494   0.5375   0.5230</div>
<div> </div>
<div>      420499        18.18        10.05 client_conn - Client connections accepted</div>
<div>    10210075    83.85244.02 client_req - Client requests received</div>
<div>     2966776    30.31        70.91 cache_hit - Cache hits</div>
<div>     7238285    52.53173.00 cache_miss - Cache misses</div>
<div>        5832         0.00         0.14 backend_conn - Backend conn. success</div>
<div>          26         0.00         0.00 backend_fail - Backend conn. failures</div>
<div>     7225040    38.39172.68 backend_reuse - Backend conn. reuses</div>
<div>        5810         0.00         0.14 backend_toolate - Backend conn. was closed</div>
<div>     7230871    38.39172.82 backend_recycle - Backend conn. recycles</div>
<div>     7192721    38.39171.91 fetch_length - Fetch with Length</div>
<div>       38146         0.00         0.91 fetch_chunked - Fetch chunked</div>
<div>         431          .            .   n_sess_mem - N struct sess_mem</div>
<div>          39          .            .   n_sess - N struct sess</div>
<div>      583562          .            .   n_object - N struct object</div>
<div>      583738          .            .   n_objectcore - N struct objectcore</div>
<div>      595457          .            .   n_objecthead - N struct objecthead</div>
<div>        9610          .            .   n_waitinglist - N struct waitinglist</div>
<div>          22          .            .   n_vbc - N struct vbc</div>
<div>        1000          .            .   n_wrk - N worker threads</div>
<div>        1000         0.00         0.02 n_wrk_create - N worker threads created</div>
<div>          28         0.00         0.00 n_wrk_queued - N queued work requests</div>
<div>           4          .            .   n_backend - N backends</div>
<div>       10609          .            .   n_expired - N expired objects</div>
<div>     6631682          .            .   n_lru_nuked - N LRU nuked objects</div>
<div>      426916          .            .   n_lru_moved - N LRU moved objects</div>
<div>    10348344    83.85247.33 n_objwrite - Objects sent with write</div>
<div>      420498        17.17        10.05 s_sess - Total Sessions</div>
<div>    10210075    83.85244.02 s_req - Total Requests</div>
<div>        5014         1.01         0.12 s_pass - Total pass</div>
<div>     7230867    38.39172.82 s_fetch - Total fetch</div>
<div>  2945392448     23715.74     70394.89 s_hdrbytes - Total header bytes</div>
<div> 82769021882    721855.66   1978179.82 s_bodybytes - Total body bytes</div>
<div>      315656        16.16         7.54 sess_closed - Session Closed</div>
<div>    10189788    67.69243.54 sess_linger - Session Linger</div>
<div>     1036235        24.25        24.77 sess_herd - Session herd</div>
<div>   587715869      4231.96     14046.41 shm_records - SHM records</div>
<div>    27056594   243.47646.65 shm_writes - SHM writes</div>
<div>          90         0.00         0.00 shm_flushes - SHM flushes due to overflow</div>
<div>        5354         0.00         0.13 shm_cont - SHM MTX contention</div>
<div>         206         0.00         0.00 shm_cycles - SHM cycles through buffer</div>
<div>       19939        16.16         0.48 sms_nreq - SMS allocator requests</div>
<div>     7860413          .            .   sms_balloc - SMS bytes allocated</div>
<div>     7860413          .            .   sms_bfree - SMS bytes freed</div>
<div>     7230872    38.39172.82 backend_req - Backend requests made</div>
<div>           1         0.00         0.00 n_vcl - N vcl total</div>
<div>           1         0.00         0.00 n_vcl_avail - N vcl available</div>
</div>
</div>
</div>
<div> </div>