<div dir="ltr">Hi All,<div><br></div><div>Responding to myself.</div><div>It seems that increasing vm.max_map_count to e.g. 262120 (instead of default 65530) and restart helps.</div><div>(3.0.2 on Debian Squeeze running fine on default 65530).</div><div><br></div><div>WBR,</div><div>   Denis</div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-25 9:51 GMT+02:00 Denis Zhdanov <span dir="ltr"><<a href="mailto:denis.zhdanov@gmail.com" target="_blank">denis.zhdanov@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>We are trying to upgrade our varnish from pretty old 3.0.2 to 3.0.5 (3.0.6 was just released, we'll try it too, but now we are working with 3.0.5)</div><div>We are using only RAM storage, and before upgrade it consume about 90G after 8 hours and stay like that. But it seems there's some leak in 3.0.6 - it doesn't stop in RAM consuming until its ran out. It's not fast process - can took a week, but after that it starts swapping and we are forced to restart it (and lost all cache).</div><div>I tried to compare varnishstat from "bad" and "good" node but didn't find anything strange - at least SMA.ram.g_bytes is approximately same for both nodes.</div><div>Could someone please take a look?</div><div><br></div><div>Good varnishstat -1</div><div>---------------</div><div><div>epsvarnish_good:</div><div>client_conn          210291617         5.38 Client connections accepted</div><div>client_drop                  0         0.00 Connection dropped, no sess/wrk</div><div>client_req         19264242207       493.21 Client requests received</div><div>cache_hit          17890026068       458.02 Cache hits</div><div>cache_hitpass                0         0.00 Cache hits for pass</div><div>cache_miss          1373994639        35.18 Cache misses</div><div>backend_conn          13241605         0.34 Backend conn. success</div><div>backend_unhealthy       926862         0.02 Backend conn. not attempted</div><div>backend_busy                 0         0.00 Backend conn. too many</div><div>backend_fail                47         0.00 Backend conn. failures</div><div>backend_reuse       1359807120        34.81 Backend conn. reuses</div><div>backend_toolate          13870         0.00 Backend conn. was closed</div><div>backend_recycle     1359883733        34.82 Backend conn. recycles</div><div>backend_retry            44845         0.00 Backend conn. retry</div><div>fetch_head                   0         0.00 Fetch head</div><div>fetch_length        1373044190        35.15 Fetch with Length</div><div>fetch_chunked              950         0.00 Fetch chunked</div><div>fetch_eof                    0         0.00 Fetch EOF</div><div>fetch_bad                    0         0.00 Fetch had bad headers</div><div>fetch_close                  0         0.00 Fetch wanted close</div><div>fetch_oldhttp                0         0.00 Fetch pre HTTP/1.1 closed</div><div>fetch_zero                   0         0.00 Fetch zero len</div><div>fetch_failed            100547         0.00 Fetch failed</div><div>fetch_1xx                    0         0.00 Fetch no body (1xx)</div><div>fetch_204                    0         0.00 Fetch no body (204)</div><div>fetch_304                    0         0.00 Fetch no body (304)</div><div>n_sess_mem                3722          .   N struct sess_mem</div><div>n_sess                    1870          .   N struct sess</div><div>n_object               4007618          .   N struct object</div><div>n_vampireobject              0          .   N unresurrected objects</div><div>n_objectcore           4009072          .   N struct objectcore</div><div>n_objecthead           4023957          .   N struct objecthead</div><div>n_waitinglist          6689775          .   N struct waitinglist</div><div>n_vbc                       20          .   N struct vbc</div><div>n_wrk                     1600          .   N worker threads</div><div>n_wrk_create              1617         0.00 N worker threads created</div><div>n_wrk_failed                 0         0.00 N worker threads not created</div><div>n_wrk_max                    0         0.00 N worker threads limited</div><div>n_wrk_lqueue                 0         0.00 work request queue length</div><div>n_wrk_queued              1703         0.00 N queued work requests</div><div>n_wrk_drop                   0         0.00 N dropped work requests</div><div>n_backend                    3          .   N backends</div><div>n_expired             25190657          .   N expired objects</div><div>n_lru_nuked         1343746322          .   N LRU nuked objects</div><div>n_lru_moved        16549646438          .   N LRU moved objects</div><div>losthdr                   1771         0.00 HTTP header overflows</div><div>n_objsendfile                0         0.00 Objects sent with sendfile</div><div>n_objwrite         19157759781       490.48 Objects sent with write</div><div>n_objoverflow                0         0.00 Objects overflowing workspace</div><div>s_sess               210297216         5.38 Total Sessions</div><div>s_req              19264242207       493.21 Total Requests</div><div>s_pipe                       0         0.00 Total pipe</div><div>s_pass                       0         0.00 Total pass</div><div>s_fetch             1372944593        35.15 Total fetch</div><div>s_hdrbytes        7493165988804    191841.77 Total header bytes</div><div>s_bodybytes       230757381423391   5907903.79 Total body bytes</div><div>sess_closed            7877791         0.20 Session Closed</div><div>sess_pipeline                0         0.00 Session Pipeline</div><div>sess_readahead               0         0.00 Session Read Ahead</div><div>sess_linger        19261784636       493.14 Session Linger</div><div>sess_herd          12270879099       314.16 Session herd</div><div>shm_records       796058319688     20380.87 SHM records</div><div>shm_writes         34949444335       894.78 SHM writes</div><div>shm_flushes                  3         0.00 SHM flushes due to overflow</div><div>shm_cont             213814789         5.47 SHM MTX contention</div><div>shm_cycles              343350         0.01 SHM cycles through buffer</div><div>sms_nreq               1271021         0.03 SMS allocator requests</div><div>sms_nobj                     0          .   SMS outstanding allocations</div><div>sms_nbytes                   0          .   SMS outstanding bytes</div><div>sms_balloc           578078958          .   SMS bytes allocated</div><div>sms_bfree            578078958          .   SMS bytes freed</div><div>backend_req         1373106504        35.15 Backend requests made</div><div>n_vcl                        8         0.00 N vcl total</div><div>n_vcl_avail                  8         0.00 N vcl available</div><div>n_vcl_discard                0         0.00 N vcl discarded</div><div>n_ban                        1          .   N total active bans</div><div>n_ban_add                    1         0.00 N new bans added</div><div>n_ban_retire                 0         0.00 N old bans deleted</div><div>n_ban_obj_test               0         0.00 N objects tested</div><div>n_ban_re_test                0         0.00 N regexps tested against</div><div>n_ban_dups                   0         0.00 N duplicate bans removed</div><div>hcb_nolock         19230468606       492.34 HCB Lookups without lock</div><div>hcb_lock            1371994951        35.13 HCB Lookups with lock</div><div>hcb_insert          1371991264        35.13 HCB Inserts</div><div>esi_errors                   0         0.00 ESI parse errors (unlock)</div><div>esi_warnings                 0         0.00 ESI parse warnings (unlock)</div><div>accept_fail                  0         0.00 Accept failures</div><div>client_drop_late             0         0.00 Connection dropped late</div><div>uptime                39059096         1.00 Client uptime</div><div>dir_dns_lookups              0         0.00 DNS director lookups</div><div>dir_dns_failed               0         0.00 DNS director failed lookups</div><div>dir_dns_hit                  0         0.00 DNS director cached lookups hit</div><div>dir_dns_cache_full           0         0.00 DNS director full dnscache</div><div>vmods                        1          .   Loaded VMODs</div><div>n_gzip                       7         0.00 Gzip operations</div><div>n_gunzip                     0         0.00 Gunzip operations</div><div>VBE.autojournaal(10.32.230.188,,8484).vcls            5          .   VCL references</div><div>VBE.autojournaal(10.32.230.188,,8484).happy18446744073709551615          .   Happy health probes</div><div>VBE.beslist(10.32.230.188,,8484).vcls                 1          .   VCL references</div><div>VBE.beslist(10.32.230.188,,8484).happy     18446744073709551615          .   Happy health probes</div><div>LCK.sms.creat                                         1         0.00 Created locks</div><div>LCK.sms.destroy                                       0         0.00 Destroyed locks</div><div>LCK.sms.locks                                   3813063         0.10 Lock Operations</div><div>LCK.sms.colls                                         0         0.00 Collisions</div><div>LCK.smp.creat                                         0         0.00 Created locks</div><div>LCK.smp.destroy                                       0         0.00 Destroyed locks</div><div>LCK.smp.locks                                         0         0.00 Lock Operations</div><div>LCK.smp.colls                                         0         0.00 Collisions</div><div>LCK.sma.creat                                         2         0.00 Created locks</div><div>LCK.sma.destroy                                       0         0.00 Destroyed locks</div><div>LCK.sma.locks                                6898140689       176.61 Lock Operations</div><div>LCK.sma.colls                                         0         0.00 Collisions</div><div>LCK.smf.creat                                         0         0.00 Created locks</div><div>LCK.smf.destroy                                       0         0.00 Destroyed locks</div><div>LCK.smf.locks                                         0         0.00 Lock Operations</div><div>LCK.smf.colls                                         0         0.00 Collisions</div><div>LCK.hsl.creat                                         0         0.00 Created locks</div><div>LCK.hsl.destroy                                       0         0.00 Destroyed locks</div><div>LCK.hsl.locks                                         0         0.00 Lock Operations</div><div>LCK.hsl.colls                                         0         0.00 Collisions</div><div>LCK.hcb.creat                                         1         0.00 Created locks</div><div>LCK.hcb.destroy                                       0         0.00 Destroyed locks</div><div>LCK.hcb.locks                                2740196312        70.16 Lock Operations</div><div>LCK.hcb.colls                                         0         0.00 Collisions</div><div>LCK.hcl.creat                                         0         0.00 Created locks</div><div>LCK.hcl.destroy                                       0         0.00 Destroyed locks</div><div>LCK.hcl.locks                                         0         0.00 Lock Operations</div><div>LCK.hcl.colls                                         0         0.00 Collisions</div><div>LCK.vcl.creat                                         1         0.00 Created locks</div><div>LCK.vcl.destroy                                       0         0.00 Destroyed locks</div><div>LCK.vcl.locks                                  16514901         0.42 Lock Operations</div><div>LCK.vcl.colls                                         0         0.00 Collisions</div><div>LCK.stat.creat                                        1         0.00 Created locks</div><div>LCK.stat.destroy                                      0         0.00 Destroyed locks</div><div>LCK.stat.locks                                     3722         0.00 Lock Operations</div><div>LCK.stat.colls                                        0         0.00 Collisions</div><div>LCK.sessmem.creat                                     1         0.00 Created locks</div><div>LCK.sessmem.destroy                                   0         0.00 Destroyed locks</div><div>LCK.sessmem.locks                             210376778         5.39 Lock Operations</div><div>LCK.sessmem.colls                                     0         0.00 Collisions</div><div>LCK.wstat.creat                                       1         0.00 Created locks</div><div>LCK.wstat.destroy                                     0         0.00 Destroyed locks</div><div>LCK.wstat.locks                               154004420         3.94 Lock Operations</div><div>LCK.wstat.colls                                       0         0.00 Collisions</div><div>LCK.herder.creat                                      1         0.00 Created locks</div><div>LCK.herder.destroy                                    0         0.00 Destroyed locks</div><div>LCK.herder.locks                                     31         0.00 Lock Operations</div><div>LCK.herder.colls                                      0         0.00 Collisions</div><div>LCK.wq.creat                                         16         0.00 Created locks</div><div>LCK.wq.destroy                                        0         0.00 Destroyed locks</div><div>LCK.wq.locks                                25196944400       645.10 Lock Operations</div><div>LCK.wq.colls                                          0         0.00 Collisions</div><div>LCK.objhdr.creat                             1371962780        35.13 Created locks</div><div>LCK.objhdr.destroy                           1367969515        35.02 Destroyed locks</div><div>LCK.objhdr.locks                            79782749795      2042.62 Lock Operations</div><div>LCK.objhdr.colls                                      0         0.00 Collisions</div><div>LCK.exp.creat                                         1         0.00 Created locks</div><div>LCK.exp.destroy                                       0         0.00 Destroyed locks</div><div>LCK.exp.locks                                2780936064        71.20 Lock Operations</div><div>LCK.exp.colls                                         0         0.00 Collisions</div><div>LCK.lru.creat                                         2         0.00 Created locks</div><div>LCK.lru.destroy                                       0         0.00 Destroyed locks</div><div>LCK.lru.locks                                2716690775        69.55 Lock Operations</div><div>LCK.lru.colls                                         0         0.00 Collisions</div><div>LCK.cli.creat                                         1         0.00 Created locks</div><div>LCK.cli.destroy                                       0         0.00 Destroyed locks</div><div>LCK.cli.locks                                   2227237         0.06 Lock Operations</div><div>LCK.cli.colls                                         0         0.00 Collisions</div><div>LCK.ban.creat                                         1         0.00 Created locks</div><div>LCK.ban.destroy                                       0         0.00 Destroyed locks</div><div>LCK.ban.locks                                2781138078        71.20 Lock Operations</div><div>LCK.ban.colls                                         0         0.00 Collisions</div><div>LCK.vbp.creat                                         1         0.00 Created locks</div><div>LCK.vbp.destroy                                       0         0.00 Destroyed locks</div><div>LCK.vbp.locks                                   9013627         0.23 Lock Operations</div><div>LCK.vbp.colls                                         0         0.00 Collisions</div><div>LCK.vbe.creat                                         1         0.00 Created locks</div><div>LCK.vbe.destroy                                       0         0.00 Destroyed locks</div><div>LCK.vbe.locks                                  26485466         0.68 Lock Operations</div><div>LCK.vbe.colls                                         0         0.00 Collisions</div><div>LCK.backend.creat                                     3         0.00 Created locks</div><div>LCK.backend.destroy                                   0         0.00 Destroyed locks</div><div>LCK.backend.locks                            2773680373        71.01 Lock Operations</div><div>LCK.backend.colls                                     0         0.00 Collisions</div><div>SMA.ram.c_req                                4109962205       105.22 Allocator requests</div><div>SMA.ram.c_fail                             52455807295423   1342985.70 Allocator failures</div><div>SMA.ram.c_bytes                            27203969692807    696482.32 Bytes allocated</div><div>SMA.ram.c_freed                            27128807778988    694558.00 Bytes freed</div><div>SMA.ram.g_alloc                                 8016209          .   Allocations outstanding</div><div>SMA.ram.g_bytes                             75161913819          .   Bytes outstanding</div><div>SMA.ram.g_space                                   13861          .   Bytes available</div><div>SMA.Transient.c_req                            47750773         1.22 Allocator requests</div><div>SMA.Transient.c_fail                                  0         0.00 Allocator failures</div><div>SMA.Transient.c_bytes                       58471006951      1496.99 Bytes allocated</div><div>SMA.Transient.c_freed                       58470979290      1496.99 Bytes freed</div><div>SMA.Transient.g_alloc                                22          .   Allocations outstanding</div><div>SMA.Transient.g_bytes                             27661          .   Bytes outstanding</div><div>SMA.Transient.g_space                                 0          .   Bytes available</div><div>VBE.proxy(10.x.x.x,,80).vcls               8          .   VCL references</div><div>VBE.proxy(10.x.x.x,,80).happy   18446744073709551615          .   Happy health probes</div></div><div>---------------</div><div>Bad varnishstat -1</div><div>---------------</div><div><div>epsvarnish_bad:</div><div>client_conn            2661600         6.43 Client connections accepted</div><div>client_drop                  0         0.00 Connection dropped, no sess/wrk</div><div>client_req           238438255       575.65 Client requests received</div><div>cache_hit            213261383       514.87 Cache hits</div><div>cache_hitpass                0         0.00 Cache hits for pass</div><div>cache_miss            25173891        60.78 Cache misses</div><div>backend_conn            397844         0.96 Backend conn. success</div><div>backend_unhealthy        18139         0.04 Backend conn. not attempted</div><div>backend_busy                 0         0.00 Backend conn. too many</div><div>backend_fail              2675         0.01 Backend conn. failures</div><div>backend_reuse         24825052        59.93 Backend conn. reuses</div><div>backend_toolate             45         0.00 Backend conn. was closed</div><div>backend_recycle       24825811        59.94 Backend conn. recycles</div><div>backend_retry            70506         0.17 Backend conn. retry</div><div>fetch_head                   0         0.00 Fetch head</div><div>fetch_length          25137933        60.69 Fetch with Length</div><div>fetch_chunked               10         0.00 Fetch chunked</div><div>fetch_eof                    0         0.00 Fetch EOF</div><div>fetch_bad                    0         0.00 Fetch had bad headers</div><div>fetch_close                  0         0.00 Fetch wanted close</div><div>fetch_oldhttp                0         0.00 Fetch pre HTTP/1.1 closed</div><div>fetch_zero                   0         0.00 Fetch zero len</div><div>fetch_failed               530         0.00 Fetch failed</div><div>fetch_1xx                    0         0.00 Fetch no body (1xx)</div><div>fetch_204                    0         0.00 Fetch no body (204)</div><div>fetch_304                    0         0.00 Fetch no body (304)</div><div>n_sess_mem                4732          .   N struct sess_mem</div><div>n_sess                     148          .   N struct sess</div><div>n_object               4003646          .   N struct object</div><div>n_vampireobject              0          .   N unresurrected objects</div><div>n_objectcore           4004774          .   N struct objectcore</div><div>n_objecthead           4015924          .   N struct objecthead</div><div>n_waitinglist             1588          .   N struct waitinglist</div><div>n_vbc                       22          .   N struct vbc</div><div>n_wrk                     1600          .   N worker threads</div><div>n_wrk_create              3068         0.01 N worker threads created</div><div>n_wrk_failed                 0         0.00 N worker threads not created</div><div>n_wrk_max                    0         0.00 N worker threads limited</div><div>n_wrk_lqueue                 0         0.00 work request queue length</div><div>n_wrk_queued             13255         0.03 N queued work requests</div><div>n_wrk_drop                   0         0.00 N dropped work requests</div><div>n_backend                    3          .   N backends</div><div>n_expired               263264          .   N expired objects</div><div>n_lru_nuked           20870512          .   N LRU nuked objects</div><div>n_lru_moved          200584889          .   N LRU moved objects</div><div>losthdr                      8         0.00 HTTP header overflows</div><div>n_objsendfile                0         0.00 Objects sent with sendfile</div><div>n_objwrite           236130810       570.08 Objects sent with write</div><div>n_objoverflow                0         0.00 Objects overflowing workspace</div><div>s_sess                 2661694         6.43 Total Sessions</div><div>s_req                238438255       575.65 Total Requests</div><div>s_pipe                       0         0.00 Total pipe</div><div>s_pass                       0         0.00 Total pass</div><div>s_fetch               25137413        60.69 Total fetch</div><div>s_hdrbytes        117632270881    283995.98 Total header bytes</div><div>s_bodybytes       2917193607304   7042890.96 Total body bytes</div><div>sess_closed             169195         0.41 Session Closed</div><div>sess_pipeline                0         0.00 Session Pipeline</div><div>sess_readahead               0         0.00 Session Read Ahead</div><div>sess_linger          238353273       575.45 Session Linger</div><div>sess_herd            148971811       359.66 Session herd</div><div>shm_records        10788946827     26047.42 SHM records</div><div>shm_writes           446371290      1077.66 SHM writes</div><div>shm_flushes                  0         0.00 SHM flushes due to overflow</div><div>shm_cont               2328506         5.62 SHM MTX contention</div><div>shm_cycles                4750         0.01 SHM cycles through buffer</div><div>sms_nreq                 39446         0.10 SMS allocator requests</div><div>sms_nobj                     0          .   SMS outstanding allocations</div><div>sms_nbytes                   0          .   SMS outstanding bytes</div><div>sms_balloc            18106011          .   SMS bytes allocated</div><div>sms_bfree             18106011          .   SMS bytes freed</div><div>backend_req           25222980        60.90 Backend requests made</div><div>n_vcl                        2         0.00 N vcl total</div><div>n_vcl_avail                  2         0.00 N vcl available</div><div>n_vcl_discard                0         0.00 N vcl discarded</div><div>n_ban                        1          .   N total active bans</div><div>n_ban_gone                   1          .   N total gone bans</div><div>n_ban_add                    1         0.00 N new bans added</div><div>n_ban_retire                 0         0.00 N old bans deleted</div><div>n_ban_obj_test               0         0.00 N objects tested</div><div>n_ban_re_test                0         0.00 N regexps tested against</div><div>n_ban_dups                   0         0.00 N duplicate bans removed</div><div>hcb_nolock           238293148       575.30 HCB Lookups without lock</div><div>hcb_lock              25165922        60.76 HCB Lookups with lock</div><div>hcb_insert            25165889        60.76 HCB Inserts</div><div>esi_errors                   0         0.00 ESI parse errors (unlock)</div><div>esi_warnings                 0         0.00 ESI parse warnings (unlock)</div><div>accept_fail                  0         0.00 Accept failures</div><div>client_drop_late             0         0.00 Connection dropped late</div><div>uptime                  414204         1.00 Client uptime</div><div>dir_dns_lookups              0         0.00 DNS director lookups</div><div>dir_dns_failed               0         0.00 DNS director failed lookups</div><div>dir_dns_hit                  0         0.00 DNS director cached lookups hit</div><div>dir_dns_cache_full           0         0.00 DNS director full dnscache</div><div>vmods                        1          .   Loaded VMODs</div><div>n_gzip                       0         0.00 Gzip operations</div><div>n_gunzip                     0         0.00 Gunzip operations</div><div>sess_pipe_overflow           0          .   Dropped sessions due to session pipe overflow</div><div>LCK.sms.creat                1         0.00 Created locks</div><div>LCK.sms.destroy              0         0.00 Destroyed locks</div><div>LCK.sms.locks           118338         0.29 Lock Operations</div><div>LCK.sms.colls                0         0.00 Collisions</div><div>LCK.smp.creat                0         0.00 Created locks</div><div>LCK.smp.destroy              0         0.00 Destroyed locks</div><div>LCK.smp.locks                0         0.00 Lock Operations</div><div>LCK.smp.colls                0         0.00 Collisions</div><div>LCK.sma.creat                2         0.00 Created locks</div><div>LCK.sma.destroy              0         0.00 Destroyed locks</div><div>LCK.sma.locks        114658606       276.82 Lock Operations</div><div>LCK.sma.colls                0         0.00 Collisions</div><div>LCK.smf.creat                0         0.00 Created locks</div><div>LCK.smf.destroy              0         0.00 Destroyed locks</div><div>LCK.smf.locks                0         0.00 Lock Operations</div><div>LCK.smf.colls                0         0.00 Collisions</div><div>LCK.hsl.creat                0         0.00 Created locks</div><div>LCK.hsl.destroy              0         0.00 Destroyed locks</div><div>LCK.hsl.locks                0         0.00 Lock Operations</div><div>LCK.hsl.colls                0         0.00 Collisions</div><div>LCK.hcb.creat                1         0.00 Created locks</div><div>LCK.hcb.destroy              0         0.00 Destroyed locks</div><div>LCK.hcb.locks         46330459       111.85 Lock Operations</div><div>LCK.hcb.colls                0         0.00 Collisions</div><div>LCK.hcl.creat                0         0.00 Created locks</div><div>LCK.hcl.destroy              0         0.00 Destroyed locks</div><div>LCK.hcl.locks                0         0.00 Lock Operations</div><div>LCK.hcl.colls                0         0.00 Collisions</div><div>LCK.vcl.creat                1         0.00 Created locks</div><div>LCK.vcl.destroy              0         0.00 Destroyed locks</div><div>LCK.vcl.locks           175044         0.42 Lock Operations</div><div>LCK.vcl.colls                0         0.00 Collisions</div><div>LCK.stat.creat               1         0.00 Created locks</div><div>LCK.stat.destroy             0         0.00 Destroyed locks</div><div>LCK.stat.locks         2666278         6.44 Lock Operations</div><div>LCK.stat.colls               0         0.00 Collisions</div><div>LCK.sessmem.creat            1         0.00 Created locks</div><div>LCK.sessmem.destroy            0         0.00 Destroyed locks</div><div>LCK.sessmem.locks        2667059         6.44 Lock Operations</div><div>LCK.sessmem.colls              0         0.00 Collisions</div><div>LCK.wstat.creat                1         0.00 Created locks</div><div>LCK.wstat.destroy              0         0.00 Destroyed locks</div><div>LCK.wstat.locks          1316488         3.18 Lock Operations</div><div>LCK.wstat.colls                0         0.00 Collisions</div><div>LCK.herder.creat               1         0.00 Created locks</div><div>LCK.herder.destroy             0         0.00 Destroyed locks</div><div>LCK.herder.locks           11717         0.03 Lock Operations</div><div>LCK.herder.colls               0         0.00 Collisions</div><div>LCK.wq.creat                  16         0.00 Created locks</div><div>LCK.wq.destroy                 0         0.00 Destroyed locks</div><div>LCK.wq.locks           305048412       736.47 Lock Operations</div><div>LCK.wq.colls                   0         0.00 Collisions</div><div>LCK.objhdr.creat        25167014        60.76 Created locks</div><div>LCK.objhdr.destroy      21151796        51.07 Destroyed locks</div><div>LCK.objhdr.locks       996006829      2404.63 Lock Operations</div><div>LCK.objhdr.colls               0         0.00 Collisions</div><div>LCK.exp.creat                  1         0.00 Created locks</div><div>LCK.exp.destroy                0         0.00 Destroyed locks</div><div>LCK.exp.locks           46685330       112.71 Lock Operations</div><div>LCK.exp.colls                  0         0.00 Collisions</div><div>LCK.lru.creat                  2         0.00 Created locks</div><div>LCK.lru.destroy                0         0.00 Destroyed locks</div><div>LCK.lru.locks           46007928       111.08 Lock Operations</div><div>LCK.lru.colls                  0         0.00 Collisions</div><div>LCK.cli.creat                  1         0.00 Created locks</div><div>LCK.cli.destroy                0         0.00 Destroyed locks</div><div>LCK.cli.locks              88654         0.21 Lock Operations</div><div>LCK.cli.colls                  0         0.00 Collisions</div><div>LCK.ban.creat                  1         0.00 Created locks</div><div>LCK.ban.destroy                0         0.00 Destroyed locks</div><div>LCK.ban.locks           46686411       112.71 Lock Operations</div><div>LCK.ban.colls                  0         0.00 Collisions</div><div>LCK.vbp.creat                  1         0.00 Created locks</div><div>LCK.vbp.destroy                0         0.00 Destroyed locks</div><div>LCK.vbp.locks             125227         0.30 Lock Operations</div><div>LCK.vbp.colls                  0         0.00 Collisions</div><div>LCK.vbe.creat                  1         0.00 Created locks</div><div>LCK.vbe.destroy                0         0.00 Destroyed locks</div><div>LCK.vbe.locks             801030         1.93 Lock Operations</div><div>LCK.vbe.colls                  0         0.00 Collisions</div><div>LCK.backend.creat              3         0.00 Created locks</div><div>LCK.backend.destroy            0         0.00 Destroyed locks</div><div>LCK.backend.locks       50871308       122.82 Lock Operations</div><div>LCK.backend.colls              0         0.00 Collisions</div><div>SMA.ram.c_req           71969321       173.75 Allocator requests</div><div>SMA.ram.c_fail          22016345        53.15 Allocator failures</div><div>SMA.ram.c_bytes     504148551835   1217150.37 Bytes allocated</div><div>SMA.ram.c_freed     428986641816   1035689.28 Bytes freed</div><div>SMA.ram.g_alloc          8008174          .   Allocations outstanding</div><div>SMA.ram.g_bytes      75161910019          .   Bytes outstanding</div><div>SMA.ram.g_space            17661          .   Bytes available</div><div>SMA.Transient.c_req       368754         0.89 Allocator requests</div><div>SMA.Transient.c_fail           0         0.00 Allocator failures</div><div>SMA.Transient.c_bytes    463851431      1119.86 Bytes allocated</div><div>SMA.Transient.c_freed    463818676      1119.78 Bytes freed</div><div>SMA.Transient.g_alloc           26          .   Allocations outstanding</div><div>SMA.Transient.g_bytes        32755          .   Bytes outstanding</div><div>SMA.Transient.g_space            0          .   Bytes available</div><div>VBE.proxy(10.x.x.x,,80).vcls            2          .   VCL references</div><div>VBE.proxy(10.x.x.x,,80).happy18446744073709551615          .   Happy health probes</div></div><div>---------------</div><div><br></div><div>Command line</div><div>/usr/sbin/varnishd -P /var/run/varnishd.pid -a :80 -f /etc/varnish/varnish.vcl -T :6082 -S /etc/varnish/secret -s ram=malloc,70G -p thread_pool_add_delay=2 -p http_gzip_support=on -p thread_pools=16 -p default_ttl=7200 -p thread_pool_min=100 -p thread_pool_max=4000 -p session_linger=50 -p sess_workspace=1048576 -p shm_workspace=8192<br></div><div><br></div><div>Server is PowerEdge M610, 96G RAM, 2xXeon E5620+HT (16 cores).</div><div>Good system running on Debian Squeeze, Bad one - on Ubuntu Precise (yep, I know, it was a bad idea to change varnish and OS in same time *sigh*)</div><div><br></div><div>With best regards,</div><div>    Denis</div></div>
</blockquote></div><br></div>