<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:14px">I use varnish-3.0.2-streaming for my application. I found that the object with "Cache-Control:max-age=31536000" will miss in couple days sometimes. And then I notice that varnish child process crash sometimes. </div>
<div style="font-family:arial,sans-serif;font-size:14px"> </div><div style="font-family:arial,sans-serif;font-size:14px">This is panic log:</div><div style="font-family:arial,sans-serif;font-size:14px"><div>panic.show</div>
<div>200 </div><div>Last panic at: Sun, 31 Mar 2013 22:16:07 GMT</div><div>Assert error in Tcheck(), cache.h line 1004:</div><div> Condition(t.b <= t.e) not true.</div><div>thread = (cache-worker)</div><div>ident = Linux,2.6.32.59-0.7-xen,x86_64,-smalloc,-smalloc,-hcritbit,epoll</div>
<div>Backtrace:</div><div> 0x42ffb3: pan_ic+d3</div><div> 0x42cd35: http_IsHdr+65</div><div> 0x42d311: http_FilterFields+3e1</div><div> 0x43417c: RES_BuildHttp+9c</div><div> 0x417248: cnt_prepresp+218</div><div> 0x41998d: CNT_Session+4ad</div>
<div> 0x4327c3: wrk_do_cnt_sess+93</div><div> 0x431a0a: wrk_thread_real+3ea</div><div> 0x7f0a266a56a6: _end+7f0a2602938e</div><div> 0x7f0a26414f7d: _end+7f0a25d98c65</div><div>sp = 0x7f0a1369a008 {</div><div> fd = 260, id = 260, xid = 752636266,</div>
<div> client = xx.xxx.xxx.xxx xxxx,</div><div> step = STP_PREPRESP,</div><div> handling = hit_for_pass,</div><div> err_code = 200, err_reason = (null),</div><div> restarts = 0, esi_level = 0</div><div> flags = </div>
<div> bodystatus = 3</div><div> ws = 0x7f0a1369a080 { </div><div> id = "sess",</div><div> {s,f,r,e} = {0x7f0a1369c628,+608,(nil),+65536},</div><div> },</div><div> http[req] = {</div><div> ws = 0x7f0a1369a080[sess]</div>
<div> "GET",</div><div> "<a href="http://g.example.com/fcg-bin/cgi_emotion_list.fcg?uin=xxxx&loginUin=x&s=xxxx&num=xx&noflower=xx&g_tk=xxx" target="_blank">http://g.example.com/fcg-bin/cgi_emotion_list.fcg?uin=xxxx&loginUin=x&s=xxxx&num=xx&noflower=xx&g_tk=xxx</a>",</div>
<div> "HTTP/1.1",</div><div> "Accept: */*",</div><div> "Referer: <a href="http://user.example.com/xxxxx" target="_blank">http://user.example.com/xxxxx</a>",</div><div> "Accept-Language: Zh-cn",</div>
<div> "User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; SE 2.X MetaSr 1.0",</div><div> "Host: <a href="http://g.example.com/" target="_blank">g.example.com</a>",</div>
<div> "Connection: close",</div><div> "Cache-Control: no-cache",</div><div> "Cookie: randomSeed=774464;",</div><div> "X-Forwarded-For: xx.xxx.xxx.xxx",</div><div>
},</div><div> worker = 0x7f0a037e5a90 {</div><div> ws = 0x7f0a037e5ce0 { </div><div> id = "wrk",</div><div> {s,f,r,e} = {0x7f0a037d3a20,0x7f0a037d3a20,(nil),+65536},</div><div> },</div><div> http[resp] = {</div>
<div> ws = 0x7f0a037e5ce0[wrk]</div><div> "HTTP/1.1",</div><div> "OK",</div><div> "Server: QZHTTP-2.35.2",</div><div> "Via: 1.1 localhost",</div><div>
"X-Accelerate: 2.20",</div><div> "Vary: Accept-Encoding",</div><div> },</div><div> },</div><div> vcl = {</div><div> srcname = {</div><div> "input",</div><div>
"Default",</div><div> },</div><div> },</div><div> obj = 0x7f0a0ddf6000 {</div><div> xid = 752636266,</div><div> ws = 0x7f0a0ddf6018 { </div><div> id = "obj",</div><div> {s,f,r,e} = {0x7f0a0ddf6200,+240,(nil),+272},</div>
<div> },</div><div> http[obj] = {</div><div> ws = 0x7f0a0ddf6018[obj]</div><div> "HTTP/1.1",</div><div> "OK",</div><div> "Date: Sun, 31 Mar 2013 22:16:07 GMT",</div>
<div> "Server: QZHTTP-2.35.2",</div><div> "Via: 1.1 localhost",</div><div> "X-Accelerate: 2.20",</div><div> "Vary: Accept-Encoding",</div><div> "Content-Type: text/html",</div>
<div> "Content-Length: 211",</div><div> },</div><div> len = 211,</div><div> store = {</div><div> 211 {</div><div> 76 69 73 69 74 43 6f 75 6e 74 43 61 6c 6c 42 61 |visitCountCallBa|</div>
<div> 63 6b 28 7b 22 72 65 74 63 6f 64 65 22 3a 31 2c |ck({"retcode":1,|</div><div> 22 76 69 73 69 74 63 6f 75 6e 74 22 3a 30 2c 22 |"visitcount":0,"|</div><div> 64 61 79 76 69 73 69 74 22 3a 30 2c 22 73 70 61 |dayvisit":0,"spa|</div>
<div> [147 more]</div><div> },</div><div> },</div><div> },</div><div>},</div></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px;text-align:justify">This is my starup order:<br></div><span style="font-family:arial,sans-serif;font-size:14px"> ./varnishd -f varnish-stream.vcl -s malloc,16G -T </span><a href="http://127.0.0.1:2000/" target="_blank" style="font-family:arial,sans-serif;font-size:14px">127.0.0.1:2000</a><span style="font-family:arial,sans-serif;font-size:14px"> -a </span><a href="http://0.0.0.0:8080/" target="_blank" style="font-family:arial,sans-serif;font-size:14px">0.0.0.0:8080</a><span style="font-family:arial,sans-serif;font-size:14px"> -p thread_pool_min=200 -p thread_pool_max=4000 -p thread_pool_add_delay=2 -p session_linger=100 -p thread_pools=2 -p http_req_hdr_len=32768 -p http_resp_hdr_len=32768 -p http_max_hdr=256</span><div style="font-family:arial,sans-serif;font-size:14px">
<br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px"><br></div><div style="font-family:arial,sans-serif;font-size:14px"><span style="text-align:justify">This is my </span> varnish-stream.vcl <span style="text-align:justify">:</span> </div>
<div style="font-family:arial,sans-serif;font-size:14px"><div># This is a basic VCL configuration file for varnish. See the vcl(7)</div><div># man page for details on VCL syntax and semantics.</div><div>#</div><div># Default backend definition. Set this to point to your content</div>
<div># server.</div><div>#</div><div><br></div><div>probe healthcheck {</div><div> .url = "/";</div><div> .interval = 30s;</div><div> .timeout = 0.5 s;</div><div> .window = 8;</div><div> .threshold = 3;</div>
<div> .initial = 3;</div><div>}</div><div><br></div><div>backend proxy1 {</div><div> .host = "x.x.x.x1";</div><div> .port = "8080";</div><div> .probe = healthcheck;</div><div>}</div><div>
<br></div><div>backend proxy2 {</div><div> .host = "x.x.x.x2";</div><div> .port = "8080";</div><div> .probe = healthcheck;</div><div>}</div><div><br></div><div>backend proxy3 {</div><div> .host = "x.x.x.x3";</div>
<div> .port = "8080";</div><div> .probe = healthcheck;</div><div> }</div><div> </div><div>backend proxy3 {</div><div> .host = "x.x.x.x4";</div><div> .port = "8080";</div><div>
.probe = healthcheck;</div><div> }</div><div><br></div><div><br></div><div>director proxy client {</div><div> {</div><div> .backend = proxy1;</div><div> .weight = 1;</div><div> }</div><div> {</div><div>
.backend = proxy2;</div><div> .weight = 1;</div><div> }</div><div> {</div><div> .backend = proxy3;</div><div> .weight = 1;</div><div> }</div><div><br></div><div>}</div><div><br></div><div><br></div>
<div>acl refresh {</div><div> "x.x.x.x5";</div><div>}</div><div><br></div><div><br></div><div># Below is a commented-out copy of the default VCL logic. If you</div><div># redefine any of these subroutines, the built-in logic will be</div>
<div># appended to your code.</div><div> sub vcl_recv {</div><div> </div><div> if(req.http.X-Real-IP){</div><div> set client.identity = req.http.X-Real-IP;</div><div> }else if (req.http.referer) {</div><div>
set client.identity = req.http.referer;</div><div> }else{</div><div> set client.identity = req.url;</div><div> }</div><div><span style="white-space:pre-wrap"> </span></div><div>#<span style="white-space:pre-wrap"> </span> set req.backend = proxy;</div>
<div><span style="white-space:pre-wrap"> </span></div><div> if(client.ip == "x.x.x.x6"){</div><div> set req.backend = proxy;</div><div> }else{</div><div> set req.backend = proxy4;</div><div> if (client.ip ~ refresh) { </div>
<div> set req.hash_always_miss = true; </div><div> } </div><div> } </div><div> </div><div> #set grace</div><div> if (req.backend.healthy) {</div><div> set req.grace = 30s;</div>
<div> } else {</div><div> set req.grace = 30m;</div><div> }</div><div><br></div><div> if (req.restarts == 0) {</div><div> if (req.http.x-forwarded-for) {</div><div> set req.http.X-Forwarded-For =</div>
<div> req.http.X-Forwarded-For + ", " + client.ip;</div><div> } else {</div><div> set req.http.X-Forwarded-For = client.ip;</div><div> }</div><div>}</div><div> if (req.request != "GET" &&</div>
<div> req.request != "HEAD" &&</div><div> req.request != "PUT" &&</div><div> req.request != "POST" &&</div><div> req.request != "TRACE" &&</div>
<div> req.request != "OPTIONS" &&</div><div> req.request != "DELETE") {</div><div># /* Non-RFC2616 or CONNECT which is weird. */</div><div> return (pipe);</div><div>
}</div><div><br></div><div> if (req.http.x-pipe && req.restarts > 0) {</div><div> remove req.http.x-pipe;</div><div> return (pipe);</div><div> }</div><div><br></div><div> if(req.request != "GET" && req.request != "HEAD") {</div>
<div># /* We only deal with GET and HEAD by default */</div><div> return (pass);</div><div> }</div><div> </div><div> if (req.http.Cache-Control ~ "no-cache") {</div><div> return (pass);</div>
<div> }</div><div><br></div><div> if (req.http.Accept-Encoding) {</div><div> if (req.url ~ "\.(webp|jpeg|png|mid|mp3|gif|sql|jpg|nth|thm|utz|mtf|sdt|hme|tsk|zip|rar|sx|pxl|cab|mbm|app|exe|apk)$") { </div>
<div> # No point in compressing these</div><div> remove req.http.Accept-Encoding;</div><div> } elsif (req.http.Accept-Encoding ~ "gzip") {</div><div> set req.http.Accept-Encoding = "gzip";</div>
<div> } elsif (req.http.Accept-Encoding ~ "deflate") {</div><div> set req.http.Accept-Encoding = "deflate";</div><div> } else {</div><div> # unknown algorithm</div><div>
remove req.http.Accept-Encoding;</div><div> }</div><div> }</div><div><br></div><div><br></div><div> if (req.http.Authorization) {</div><div> return (pass);</div><div> }</div><div><br>
</div><div> return (lookup);</div><div> }</div><div><br></div><div> sub vcl_pipe {</div><div><br></div><div> set bereq.http.connection = "close";</div><div><br></div><div> return (pipe);</div><div> }</div>
<div><br></div><div> sub vcl_pass {</div><div> </div><div> return (pass);</div><div> }</div><div><br></div><div> sub vcl_hash {</div><div><br></div><div> if (req.url ~ ".(jpeg|jpg|png|gif|ico|js|css)\?.*") {</div>
<div> hash_data(regsub(req.url, "\?[^\?]*$", ""));</div><div> } else{</div><div> hash_data(req.url);</div><div> }</div><div><br></div><div> if (req.http.host) {</div><div> hash_data(req.http.host);</div>
<div> } else {</div><div> hash_data(server.ip);</div><div> }</div><div> return (hash);</div><div> }</div><div><br></div><div> sub vcl_hit {</div><div><br></div><div> return (deliver);</div><div> }</div>
<div><br></div><div> sub vcl_miss {</div><div> </div><div> return (fetch);</div><div> }</div><div><br></div><div><br></div><div> sub vcl_fetch {</div><div> set beresp.grace = 30m;</div><div><br></div><div> set beresp.do_stream = true; </div>
<div> </div><div> if (beresp.http.Content-Length && beresp.http.Content-Length ~ "[0-9]{8,}") {</div><div> set req.http.x-pipe = "1";</div><div> return (restart);</div><div>
}</div><div><br></div><div> if (beresp.http.Pragma ~ "no-cache" || beresp.http.Cache-Control ~ "no-cache" || beresp.http.Cache-Control ~ "private"){</div><div> return (hit_for_pass);</div>
<div> }</div><div><br></div><div> if (beresp.ttl <= 0s ||</div><div> beresp.http.Set-Cookie ||</div><div> beresp.http.Vary == "*") {</div><div><br></div><div> set beresp.ttl = 120 s;</div>
<div> return (hit_for_pass);</div><div> }</div><div><br></div><div> return (deliver);</div><div> }</div><div><br></div><div>sub vcl_deliver {</div><div> if (obj.hits > 0) {</div><div> set resp.http.X-Cache = "HIT from varnish";</div>
<div> set resp.http.X-Hits = obj.hits;</div><div> } else {</div><div> set resp.http.X-Cache = "MISS from varnish";</div><div> }</div><div><span style="white-space:pre-wrap"> </span></div><div> remove resp.http.Via;</div>
<div> remove resp.http.X-Varnish;</div><div> </div><div> return (deliver);</div><div>}</div><div><br></div><div> sub vcl_error {</div><div> set obj.http.Content-Type = "text/html; charset=utf-8";</div>
<div> set obj.http.Retry-After = "5";</div><div> synthetic {"</div><div> <?xml version="1.0" encoding="utf-8"?></div><div> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"</div>
<div> "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" target="_blank">http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd</a>"></div><div> <html></div><div> <head></div><div> <title>"} + obj.status + " " + obj.response + {"</title></div>
<div> </head></div><div> <body></div><div> <h1>Error "} + obj.status + " " + obj.response + {"</h1></div><div> <p>"} + obj.response + {"</p></div>
<div> <h3>Guru Meditation:</h3></div><div> <p>XID: "} + req.xid + {"</p></div><div> <hr></div><div> <p>Varnish cache server</p></div><div> <p>varnish</p></div>
<div> </body></div><div> </html></div><div> "};</div><div> return (deliver);</div><div> }</div><div><br></div><div> sub vcl_init {</div><div> return (ok);</div><div> }</div><div><br></div><div>
sub vcl_fini {</div><div> return (ok);</div><div>}</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>This is varnishstat in 0401:</div><div><div> ./varnishstat -1</div><div>client_conn 3769680 342.17 Client connections accepted</div>
<div>client_drop 0 0.00 Connection dropped, no sess/wrk</div><div>client_req 3881633 352.33 Client requests received</div><div>cache_hit 26574 2.41 Cache hits</div>
<div>cache_hitpass 6072 0.55 Cache hits for pass</div><div>cache_miss 155003 14.07 Cache misses</div><div>backend_conn 304379 27.63 Backend conn. success</div><div>
backend_unhealthy 0 0.00 Backend conn. not attempted</div><div>backend_busy 0 0.00 Backend conn. too many</div><div>backend_fail 41 0.00 Backend conn. failures</div>
<div>backend_reuse 3551465 322.36 Backend conn. reuses</div><div>backend_toolate 1104 0.10 Backend conn. was closed</div><div>backend_recycle 3552586 322.46 Backend conn. recycles</div>
<div>backend_retry 780 0.07 Backend conn. retry</div><div>fetch_head 0 0.00 Fetch head</div><div>fetch_length 2308273 209.52 Fetch with Length</div><div>fetch_chunked 1285891 116.72 Fetch chunked</div>
<div>fetch_eof 0 0.00 Fetch EOF</div><div>fetch_streamed 3620982 328.67 Fetch streamed</div><div>fetch_bad 0 0.00 Fetch had bad headers</div><div>fetch_close 26761 2.43 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 62 0.01 Fetch failed</div><div>
fetch_1xx 0 0.00 Fetch no body (1xx)</div><div>fetch_204 49 0.00 Fetch no body (204)</div><div>fetch_304 10 0.00 Fetch no body (304)</div><div>
n_sess_mem 3103 . N struct sess_mem</div><div>n_sess 317 . N struct sess</div><div>n_object 16518 . N struct object</div><div>n_vampireobject 0 . N unresurrected objects</div>
<div>n_objectcore 16878 . N struct objectcore</div><div>n_objecthead 13535 . N struct objecthead</div><div>n_waitinglist 3049 . N struct waitinglist</div>
<div>n_vbc 68 . N struct vbc</div><div>n_wrk 400 . N worker threads</div><div>n_wrk_create 618 0.06 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 2081 0.19 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 138436 . N expired objects</div><div>n_lru_nuked 0 . N LRU nuked objects</div><div>n_lru_moved 21504 . N LRU moved objects</div><div>losthdr 0 0.00 HTTP header overflows</div>
<div>n_objsendfile 0 0.00 Objects sent with sendfile</div><div>n_objwrite 25702 2.33 Objects sent with write</div><div>n_objoverflow 0 0.00 Objects overflowing workspace</div>
<div>s_sess 3769636 342.17 Total Sessions</div><div>s_req 3881633 352.33 Total Requests</div><div>s_pipe 233231 21.17 Total pipe</div><div>s_pass 3466827 314.68 Total pass</div>
<div>s_fetch 0 0.00 Total fetch</div><div>s_stream 3620813 328.66 Total streamed requests</div><div>s_hdrbytes 986265856 89522.18 Total header bytes</div><div>
s_bodybytes 28556419 2592.03 Total body bytes</div><div>sess_closed 3657484 331.99 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 262709 23.85 Session Linger</div><div>sess_herd 262383 23.82 Session herd</div><div>shm_records 304070226 27600.09 SHM records</div><div>shm_writes 26571905 2411.90 SHM writes</div>
<div>shm_flushes 2 0.00 SHM flushes due to overflow</div><div>shm_cont 49165 4.46 SHM MTX contention</div><div>shm_cycles 130 0.01 SHM cycles through buffer</div>
<div>sms_nreq 846 0.08 SMS allocator requests</div><div>sms_nobj 0 . SMS outstanding allocations</div><div>sms_nbytes 0 . SMS outstanding bytes</div>
<div>sms_balloc 384930 . SMS bytes allocated</div><div>sms_bfree 384930 . SMS bytes freed</div><div>backend_req 3621062 328.68 Backend requests made</div><div>
n_vcl 1 0.00 N vcl total</div><div>n_vcl_avail 1 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 187649 17.03 HCB Lookups without lock</div><div>hcb_lock 80799 7.33 HCB Lookups with lock</div>
<div>hcb_insert 80799 7.33 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 11017 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 0 . Loaded VMODs</div><div>n_gzip 0 0.00 Gzip operations</div><div>
n_gunzip 271725 24.66 Gunzip operations</div><div>LCK.sms.creat 4 0.00 Created locks</div><div>LCK.sms.destroy 0 0.00 Destroyed locks</div><div>LCK.sms.locks 8550 0.78 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 8 0.00 Created locks</div><div>LCK.sma.destroy 0 0.00 Destroyed locks</div><div>LCK.sma.locks 38262423 3473.03 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 4 0.00 Created locks</div><div>LCK.hcb.destroy 0 0.00 Destroyed locks</div><div>LCK.hcb.locks 418452 37.98 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 4 0.00 Created locks</div><div>LCK.vcl.destroy 0 0.00 Destroyed locks</div><div>LCK.vcl.locks 9462038 858.86 Lock Operations</div>
<div>LCK.vcl.colls 0 0.00 Collisions</div><div>LCK.stat.creat 4 0.00 Created locks</div><div>LCK.stat.destroy 0 0.00 Destroyed locks</div><div>LCK.stat.locks 9840 0.89 Lock Operations</div>
<div>LCK.stat.colls 0 0.00 Collisions</div><div>LCK.sessmem.creat 4 0.00 Created locks</div><div>LCK.sessmem.destroy 0 0.00 Destroyed locks</div><div>LCK.sessmem.locks 28114307 2551.90 Lock Operations</div>
<div>LCK.sessmem.colls 0 0.00 Collisions</div><div>LCK.wstat.creat 4 0.00 Created locks</div><div>LCK.wstat.destroy 0 0.00 Destroyed locks</div><div>LCK.wstat.locks 212775 19.31 Lock Operations</div>
<div>LCK.wstat.colls 0 0.00 Collisions</div><div>LCK.herder.creat 4 0.00 Created locks</div><div>LCK.herder.destroy 0 0.00 Destroyed locks</div><div>LCK.herder.locks 1209 0.11 Lock Operations</div>
<div>LCK.herder.colls 0 0.00 Collisions</div><div>LCK.wq.creat 8 0.00 Created locks</div><div>LCK.wq.destroy 0 0.00 Destroyed locks</div><div>LCK.wq.locks 38953507 3535.76 Lock Operations</div>
<div>LCK.wq.colls 0 0.00 Collisions</div><div>LCK.objhdr.creat 270862 24.59 Created locks</div><div>LCK.objhdr.destroy 141466 12.84 Destroyed locks</div><div>LCK.objhdr.locks 4746962 430.88 Lock Operations</div>
<div>LCK.objhdr.colls 0 0.00 Collisions</div><div>LCK.exp.creat 4 0.00 Created locks</div><div>LCK.exp.destroy 0 0.00 Destroyed locks</div><div>LCK.exp.locks 856264 77.72 Lock Operations</div>
<div>LCK.exp.colls 0 0.00 Collisions</div><div>LCK.lru.creat 8 0.00 Created locks</div><div>LCK.lru.destroy 0 0.00 Destroyed locks</div><div>LCK.lru.locks 480694 43.63 Lock Operations</div>
<div>LCK.lru.colls 0 0.00 Collisions</div><div>LCK.cli.creat 4 0.00 Created locks</div><div>LCK.cli.destroy 0 0.00 Destroyed locks</div><div>LCK.cli.locks 22068 2.00 Lock Operations</div>
<div>LCK.cli.colls 0 0.00 Collisions</div><div>LCK.ban.creat 4 0.00 Created locks</div><div>LCK.ban.destroy 0 0.00 Destroyed locks</div><div>LCK.ban.locks 857486 77.83 Lock Operations</div>
<div>LCK.ban.colls 0 0.00 Collisions</div><div>LCK.vbp.creat 4 0.00 Created locks</div><div>LCK.vbp.destroy 0 0.00 Destroyed locks</div><div>LCK.vbp.locks 6642 0.60 Lock Operations</div>
<div>LCK.vbp.colls 0 0.00 Collisions</div><div>LCK.vbe.creat 4 0.00 Created locks</div><div>LCK.vbe.destroy 0 0.00 Destroyed locks</div><div>LCK.vbe.locks 1723928 156.48 Lock Operations</div>
<div>LCK.vbe.colls 0 0.00 Collisions</div><div>LCK.backend.creat 12 0.00 Created locks</div><div>LCK.backend.destroy 0 0.00 Destroyed locks</div><div>LCK.backend.locks 20863568 1893.76 Lock Operations</div>
<div>LCK.backend.colls 0 0.00 Collisions</div><div>LCK.busyobj.creat 2153 0.20 Created locks</div><div>LCK.busyobj.destroy 658 0.06 Destroyed locks</div><div>LCK.busyobj.locks 51597325 4683.43 Lock Operations</div>
<div>LCK.busyobj.colls 0 0.00 Collisions</div><div>SMA.s0.c_req 240044 21.79 Allocator requests</div><div>SMA.s0.c_fail 0 0.00 Allocator failures</div><div>
SMA.s0.c_bytes 14874337772 1350125.97 Bytes allocated</div><div>SMA.s0.c_freed 14770447168 1340695.94 Bytes freed</div><div>SMA.s0.g_alloc 30924 . Allocations outstanding</div><div>SMA.s0.g_bytes 103890604 . Bytes outstanding</div>
<div>SMA.s0.g_space 17075978580 . Bytes available</div><div>SMA.Transient.c_req 6620156 600.90 Allocator requests</div><div>SMA.Transient.c_fail 0 0.00 Allocator failures</div>
<div>SMA.Transient.c_bytes 173497152178 15748130.36 Bytes allocated</div><div>SMA.Transient.c_freed 173487087827 15747216.83 Bytes freed</div><div>SMA.Transient.g_alloc 1383 . Allocations outstanding</div>
<div>SMA.Transient.g_bytes 10064351 . Bytes outstanding</div><div>SMA.Transient.g_space 0 . Bytes available</div><div>VBE.proxy1(xx.xx.xx.xx1,,8080).vcls 4 . VCL references</div>
<div>VBE.proxy1(xx.xx.xx.xx1,,8080).happy18446744073709551615 . Happy health probes</div><div>VBE.proxy2(xx.xx.xx.xx2,,8080).vcls 4 . VCL references</div><div>VBE.proxy2(xx.xx.xx.xx2,,8080).happy18446744073709551615 . Happy health probes</div>
<div>VBE.proxy3(xx.xx.xx.xx3,,8080).vcls 4 . VCL references</div><div>VBE.proxy3(xx.xx.xx.xx3,,8080).happy18446744073709551615 . Happy health probes</div><div>VBE.proxy4(xx.xx.xx.xx4,,8081).vcls 4 . VCL references</div>
<div>VBE.proxy4(xx.xx.xx.xx4,,8081).happy18446744073709551615 . Happy health probes</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>This is my parameter:</div><div><div>param.show</div>
<div>200 </div><div>acceptor_sleep_decay 0.900000 []</div><div>acceptor_sleep_incr 0.001000 [s]</div><div>acceptor_sleep_max 0.050000 [s]</div><div>auto_restart on [bool]</div><div>
ban_dups on [bool]</div><div>ban_lurker_sleep 0.010000 [s]</div><div>between_bytes_timeout 60.000000 [s]</div><div>cc_command "exec gcc -std=gnu99 -pthread -fpic -shared -Wl,-x -o %o %s"</div>
<div>cli_buffer 8192 [bytes]</div><div>cli_timeout 10 [seconds]</div><div>clock_skew 10 [s]</div><div>connect_timeout 0.700000 [s]</div><div>critbit_cooloff 180.000000 [s]</div>
<div>default_grace 10.000000 [seconds]</div><div>default_keep 0.000000 [seconds]</div><div>default_ttl 120.000000 [seconds]</div><div>diag_bitmap 0x0 [bitmap]</div>
<div>esi_syntax 0 [bitmap]</div><div>expiry_sleep 1.000000 [seconds]</div><div>fetch_chunksize 128 [kilobytes]</div><div>fetch_maxchunksize 262144 [kilobytes]</div><div>first_byte_timeout 60.000000 [s]</div>
<div>group nobody (65533)</div><div>gzip_level 6 []</div><div>gzip_memlevel 8 []</div><div>gzip_stack_buffer 32768 [Bytes]</div><div>gzip_tmp_space 0 []</div>
<div>gzip_window 15 []</div><div>http_gzip_support on [bool]</div><div>http_max_hdr 256 [header lines]</div><div>http_range_support on [bool]</div><div>http_req_hdr_len 32768 [bytes]</div>
<div>http_req_size 32768 [bytes]</div><div>http_resp_hdr_len 32768 [bytes]</div><div>http_resp_size 32768 [bytes]</div><div>listen_address <a href="http://0.0.0.0:8080/" target="_blank">0.0.0.0:8080</a></div>
<div>listen_depth 1024 [connections]</div><div>log_hashstring on [bool]</div><div>log_local_address off [bool]</div><div>lru_interval 2 [seconds]</div><div>max_esi_depth 5 [levels]</div>
<div>max_restarts 4 [restarts]</div><div>nuke_limit 50 [allocations]</div><div>ping_interval 3 [seconds]</div><div>pipe_timeout 60 [seconds]</div><div>prefer_ipv6 off [bool]</div>
<div>queue_max 100 [%]</div><div>rush_exponent 3 [requests per request]</div><div>saintmode_threshold 10 [objects]</div><div>send_timeout 60 [seconds]</div><div>sess_timeout 5 [seconds]</div>
<div>sess_workspace 65536 [bytes]</div><div>session_linger 100 [ms]</div><div>session_max 100000 [sessions]</div><div>shm_reclen 255 [bytes]</div><div>shm_workspace 8192 [bytes]</div>
<div>shortlived 10.000000 [s]</div><div>stream_maxchunksize 256 [kilobytes]</div><div>stream_tokens 10 []</div><div>syslog_cli_traffic on [bool]</div><div>thread_pool_add_delay 2 [milliseconds]</div>
<div>thread_pool_add_threshold 2 [requests]</div><div>thread_pool_fail_delay 200 [milliseconds]</div><div>thread_pool_max 4000 [threads]</div><div>thread_pool_min 200 [threads]</div><div>thread_pool_purge_delay 1000 [milliseconds]</div>
<div>thread_pool_stack unlimited [bytes]</div><div>thread_pool_timeout 300 [seconds]</div><div>thread_pool_workspace 65536 [bytes]</div><div>thread_pools 2 [pools]</div><div>thread_stats_rate 10 [requests]</div>
<div>user nobody (65534)</div><div>vcc_err_unref on [bool]</div><div>vcl_dir /opt/varnish-3.0.2-streaming/etc/varnish</div><div>vcl_trace off [bool]</div>
<div>vmod_dir /opt/varnish-3.0.2-streaming/lib/varnish/vmods</div><div>waiter default (epoll, poll)</div></div></div></div>