varnish-3.0.2-streaming crash issue (revision cd0ccbf)

Xianzhe Wang wxz19861013 at gmail.com
Mon Apr 1 10:20:45 CEST 2013


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.

This is panic log:
panic.show
200
Last panic at: Sun, 31 Mar 2013 22:16:07 GMT
Assert error in Tcheck(), cache.h line 1004:
  Condition(t.b <= t.e) not true.
thread = (cache-worker)
ident = Linux,2.6.32.59-0.7-xen,x86_64,-smalloc,-smalloc,-hcritbit,epoll
Backtrace:
  0x42ffb3: pan_ic+d3
  0x42cd35: http_IsHdr+65
  0x42d311: http_FilterFields+3e1
  0x43417c: RES_BuildHttp+9c
  0x417248: cnt_prepresp+218
  0x41998d: CNT_Session+4ad
  0x4327c3: wrk_do_cnt_sess+93
  0x431a0a: wrk_thread_real+3ea
  0x7f0a266a56a6: _end+7f0a2602938e
  0x7f0a26414f7d: _end+7f0a25d98c65
sp = 0x7f0a1369a008 {
  fd = 260, id = 260, xid = 752636266,
  client = xx.xxx.xxx.xxx xxxx,
  step = STP_PREPRESP,
  handling = hit_for_pass,
  err_code = 200, err_reason = (null),
  restarts = 0, esi_level = 0
  flags =
  bodystatus = 3
  ws = 0x7f0a1369a080 {
    id = "sess",
    {s,f,r,e} = {0x7f0a1369c628,+608,(nil),+65536},
  },
  http[req] = {
    ws = 0x7f0a1369a080[sess]
      "GET",
      "
http://g.example.com/fcg-bin/cgi_emotion_list.fcg?uin=xxxx&loginUin=x&s=xxxx&num=xx&noflower=xx&g_tk=xxx
",
      "HTTP/1.1",
      "Accept: */*",
      "Referer: http://user.example.com/xxxxx",
      "Accept-Language: Zh-cn",
      "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",
      "Host: g.example.com",
      "Connection: close",
      "Cache-Control: no-cache",
      "Cookie: randomSeed=774464;",
      "X-Forwarded-For: xx.xxx.xxx.xxx",
  },
  worker = 0x7f0a037e5a90 {
    ws = 0x7f0a037e5ce0 {
      id = "wrk",
      {s,f,r,e} = {0x7f0a037d3a20,0x7f0a037d3a20,(nil),+65536},
    },
    http[resp] = {
      ws = 0x7f0a037e5ce0[wrk]
        "HTTP/1.1",
        "OK",
        "Server: QZHTTP-2.35.2",
        "Via: 1.1 localhost",
        "X-Accelerate: 2.20",
        "Vary: Accept-Encoding",
    },
    },
    vcl = {
      srcname = {
        "input",
        "Default",
      },
    },
  obj = 0x7f0a0ddf6000 {
    xid = 752636266,
    ws = 0x7f0a0ddf6018 {
      id = "obj",
      {s,f,r,e} = {0x7f0a0ddf6200,+240,(nil),+272},
    },
    http[obj] = {
      ws = 0x7f0a0ddf6018[obj]
        "HTTP/1.1",
        "OK",
        "Date: Sun, 31 Mar 2013 22:16:07 GMT",
        "Server: QZHTTP-2.35.2",
        "Via: 1.1 localhost",
        "X-Accelerate: 2.20",
        "Vary: Accept-Encoding",
        "Content-Type: text/html",
        "Content-Length: 211",
    },
    len = 211,
    store = {
      211 {
        76 69 73 69 74 43 6f 75 6e 74 43 61 6c 6c 42 61 |visitCountCallBa|
        63 6b 28 7b 22 72 65 74 63 6f 64 65 22 3a 31 2c |ck({"retcode":1,|
        22 76 69 73 69 74 63 6f 75 6e 74 22 3a 30 2c 22 |"visitcount":0,"|
        64 61 79 76 69 73 69 74 22 3a 30 2c 22 73 70 61 |dayvisit":0,"spa|
        [147 more]
      },
    },
  },
},



This is my starup order:
 ./varnishd -f  varnish-stream.vcl -s malloc,16G -T 127.0.0.1:2000 -a
0.0.0.0:8080 -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



This is my  varnish-stream.vcl :
# This is a basic VCL configuration file for varnish.  See the vcl(7)
# man page for details on VCL syntax and semantics.
#
# Default backend definition.  Set this to point to your content
# server.
#

probe healthcheck {
   .url = "/";
   .interval = 30s;
   .timeout = 0.5 s;
   .window = 8;
   .threshold = 3;
   .initial = 3;
}

backend proxy1 {
     .host = "x.x.x.x1";
     .port = "8080";
     .probe = healthcheck;
}

backend proxy2 {
     .host = "x.x.x.x2";
     .port = "8080";
     .probe = healthcheck;
}

backend proxy3 {
      .host = "x.x.x.x3";
      .port = "8080";
      .probe = healthcheck;
 }

backend proxy3 {
      .host = "x.x.x.x4";
      .port = "8080";
      .probe = healthcheck;
 }


director proxy client {
   {
      .backend = proxy1;
      .weight = 1;
   }
   {
      .backend = proxy2;
      .weight = 1;
   }
   {
      .backend = proxy3;
      .weight = 1;
   }

}


acl refresh {
        "x.x.x.x5";
}


# Below is a commented-out copy of the default VCL logic.  If you
# redefine any of these subroutines, the built-in logic will be
# appended to your code.
 sub vcl_recv {

    if(req.http.X-Real-IP){
          set client.identity = req.http.X-Real-IP;
    }else if (req.http.referer) {
          set client.identity = req.http.referer;
    }else{
          set client.identity = req.url;
    }
#  set req.backend = proxy;
     if(client.ip == "x.x.x.x6"){
       set req.backend = proxy;
     }else{
       set req.backend = proxy4;
       if (client.ip ~ refresh) {
             set req.hash_always_miss = true;
       }
    }

    #set grace
    if (req.backend.healthy) {
      set req.grace = 30s;
    } else {
      set req.grace = 30m;
    }

    if (req.restarts == 0) {
        if (req.http.x-forwarded-for) {
            set req.http.X-Forwarded-For =
                req.http.X-Forwarded-For + ", " + client.ip;
        } else {
            set req.http.X-Forwarded-For = client.ip;
        }
}
     if (req.request != "GET" &&
       req.request != "HEAD" &&
       req.request != "PUT" &&
       req.request != "POST" &&
       req.request != "TRACE" &&
       req.request != "OPTIONS" &&
       req.request != "DELETE") {
#         /* Non-RFC2616 or CONNECT which is weird. */
         return (pipe);
     }

     if (req.http.x-pipe && req.restarts > 0) {
         remove req.http.x-pipe;
         return (pipe);
    }

     if(req.request != "GET" && req.request != "HEAD") {
#         /* We only deal with GET and HEAD by default */
         return (pass);
     }

    if (req.http.Cache-Control ~ "no-cache") {
     return (pass);
     }

     if (req.http.Accept-Encoding) {
        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)$")
{
            # No point in compressing these
            remove req.http.Accept-Encoding;
        } elsif (req.http.Accept-Encoding ~ "gzip") {
            set req.http.Accept-Encoding = "gzip";
        } elsif (req.http.Accept-Encoding ~ "deflate") {
            set req.http.Accept-Encoding = "deflate";
        } else {
            # unknown algorithm
            remove req.http.Accept-Encoding;
        }
    }


     if (req.http.Authorization) {
         return (pass);
     }

     return (lookup);
 }

 sub vcl_pipe {

     set bereq.http.connection = "close";

     return (pipe);
 }

 sub vcl_pass {

     return (pass);
 }

 sub vcl_hash {

   if (req.url ~ ".(jpeg|jpg|png|gif|ico|js|css)\?.*") {
       hash_data(regsub(req.url, "\?[^\?]*$", ""));
     } else{
      hash_data(req.url);
    }

     if (req.http.host) {
         hash_data(req.http.host);
     } else {
         hash_data(server.ip);
     }
     return (hash);
 }

 sub vcl_hit {

     return (deliver);
 }

 sub vcl_miss {

     return (fetch);
 }


 sub vcl_fetch {
    set beresp.grace = 30m;

    set beresp.do_stream = true;

    if (beresp.http.Content-Length && beresp.http.Content-Length ~
"[0-9]{8,}") {
        set req.http.x-pipe = "1";
        return (restart);
    }

    if (beresp.http.Pragma ~ "no-cache" || beresp.http.Cache-Control ~
"no-cache" || beresp.http.Cache-Control ~ "private"){
         return (hit_for_pass);
       }

     if (beresp.ttl <= 0s ||
         beresp.http.Set-Cookie ||
         beresp.http.Vary == "*") {

            set beresp.ttl = 120 s;
            return (hit_for_pass);
     }

     return (deliver);
 }

sub vcl_deliver {
    if (obj.hits > 0) {
       set resp.http.X-Cache = "HIT from varnish";
       set resp.http.X-Hits = obj.hits;
    } else {
      set resp.http.X-Cache = "MISS from varnish";
    }
    remove resp.http.Via;
    remove resp.http.X-Varnish;

    return (deliver);
}

 sub vcl_error {
     set obj.http.Content-Type = "text/html; charset=utf-8";
     set obj.http.Retry-After = "5";
     synthetic {"
 <?xml version="1.0" encoding="utf-8"?>
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html>
   <head>
     <title>"} + obj.status + " " + obj.response + {"</title>
   </head>
   <body>
     <h1>Error "} + obj.status + " " + obj.response + {"</h1>
     <p>"} + obj.response + {"</p>
     <h3>Guru Meditation:</h3>
     <p>XID: "} + req.xid + {"</p>
     <hr>
     <p>Varnish cache server</p>
     <p>varnish</p>
   </body>
 </html>
 "};
     return (deliver);
 }

 sub vcl_init {
        return (ok);
 }

 sub vcl_fini {
        return (ok);
}





This is varnishstat in 0401:
 ./varnishstat -1
client_conn            3769680       342.17 Client connections accepted
client_drop                  0         0.00 Connection dropped, no sess/wrk
client_req             3881633       352.33 Client requests received
cache_hit                26574         2.41 Cache hits
cache_hitpass             6072         0.55 Cache hits for pass
cache_miss              155003        14.07 Cache misses
backend_conn            304379        27.63 Backend conn. success
backend_unhealthy            0         0.00 Backend conn. not attempted
backend_busy                 0         0.00 Backend conn. too many
backend_fail                41         0.00 Backend conn. failures
backend_reuse          3551465       322.36 Backend conn. reuses
backend_toolate           1104         0.10 Backend conn. was closed
backend_recycle        3552586       322.46 Backend conn. recycles
backend_retry              780         0.07 Backend conn. retry
fetch_head                   0         0.00 Fetch head
fetch_length           2308273       209.52 Fetch with Length
fetch_chunked          1285891       116.72 Fetch chunked
fetch_eof                    0         0.00 Fetch EOF
fetch_streamed         3620982       328.67 Fetch streamed
fetch_bad                    0         0.00 Fetch had bad headers
fetch_close              26761         2.43 Fetch wanted close
fetch_oldhttp                0         0.00 Fetch pre HTTP/1.1 closed
fetch_zero                   0         0.00 Fetch zero len
fetch_failed                62         0.01 Fetch failed
fetch_1xx                    0         0.00 Fetch no body (1xx)
fetch_204                   49         0.00 Fetch no body (204)
fetch_304                   10         0.00 Fetch no body (304)
n_sess_mem                3103          .   N struct sess_mem
n_sess                     317          .   N struct sess
n_object                 16518          .   N struct object
n_vampireobject              0          .   N unresurrected objects
n_objectcore             16878          .   N struct objectcore
n_objecthead             13535          .   N struct objecthead
n_waitinglist             3049          .   N struct waitinglist
n_vbc                       68          .   N struct vbc
n_wrk                      400          .   N worker threads
n_wrk_create               618         0.06 N worker threads created
n_wrk_failed                 0         0.00 N worker threads not created
n_wrk_max                    0         0.00 N worker threads limited
n_wrk_lqueue                 0         0.00 work request queue length
n_wrk_queued              2081         0.19 N queued work requests
n_wrk_drop                   0         0.00 N dropped work requests
n_backend                    3          .   N backends
n_expired               138436          .   N expired objects
n_lru_nuked                  0          .   N LRU nuked objects
n_lru_moved              21504          .   N LRU moved objects
losthdr                      0         0.00 HTTP header overflows
n_objsendfile                0         0.00 Objects sent with sendfile
n_objwrite               25702         2.33 Objects sent with write
n_objoverflow                0         0.00 Objects overflowing workspace
s_sess                 3769636       342.17 Total Sessions
s_req                  3881633       352.33 Total Requests
s_pipe                  233231        21.17 Total pipe
s_pass                 3466827       314.68 Total pass
s_fetch                      0         0.00 Total fetch
s_stream               3620813       328.66 Total streamed requests
s_hdrbytes           986265856     89522.18 Total header bytes
s_bodybytes           28556419      2592.03 Total body bytes
sess_closed            3657484       331.99 Session Closed
sess_pipeline                0         0.00 Session Pipeline
sess_readahead               0         0.00 Session Read Ahead
sess_linger             262709        23.85 Session Linger
sess_herd               262383        23.82 Session herd
shm_records          304070226     27600.09 SHM records
shm_writes            26571905      2411.90 SHM writes
shm_flushes                  2         0.00 SHM flushes due to overflow
shm_cont                 49165         4.46 SHM MTX contention
shm_cycles                 130         0.01 SHM cycles through buffer
sms_nreq                   846         0.08 SMS allocator requests
sms_nobj                     0          .   SMS outstanding allocations
sms_nbytes                   0          .   SMS outstanding bytes
sms_balloc              384930          .   SMS bytes allocated
sms_bfree               384930          .   SMS bytes freed
backend_req            3621062       328.68 Backend requests made
n_vcl                        1         0.00 N vcl total
n_vcl_avail                  1         0.00 N vcl available
n_vcl_discard                0         0.00 N vcl discarded
n_ban                        1          .   N total active bans
n_ban_add                    1         0.00 N new bans added
n_ban_retire                 0         0.00 N old bans deleted
n_ban_obj_test               0         0.00 N objects tested
n_ban_re_test                0         0.00 N regexps tested against
n_ban_dups                   0         0.00 N duplicate bans removed
hcb_nolock              187649        17.03 HCB Lookups without lock
hcb_lock                 80799         7.33 HCB Lookups with lock
hcb_insert               80799         7.33 HCB Inserts
esi_errors                   0         0.00 ESI parse errors (unlock)
esi_warnings                 0         0.00 ESI parse warnings (unlock)
accept_fail                  0         0.00 Accept failures
client_drop_late             0         0.00 Connection dropped late
uptime                   11017         1.00 Client uptime
dir_dns_lookups              0         0.00 DNS director lookups
dir_dns_failed               0         0.00 DNS director failed lookups
dir_dns_hit                  0         0.00 DNS director cached lookups hit
dir_dns_cache_full           0         0.00 DNS director full dnscache
vmods                        0          .   Loaded VMODs
n_gzip                       0         0.00 Gzip operations
n_gunzip                271725        24.66 Gunzip operations
LCK.sms.creat                4         0.00 Created locks
LCK.sms.destroy              0         0.00 Destroyed locks
LCK.sms.locks             8550         0.78 Lock Operations
LCK.sms.colls                0         0.00 Collisions
LCK.smp.creat                0         0.00 Created locks
LCK.smp.destroy              0         0.00 Destroyed locks
LCK.smp.locks                0         0.00 Lock Operations
LCK.smp.colls                0         0.00 Collisions
LCK.sma.creat                8         0.00 Created locks
LCK.sma.destroy              0         0.00 Destroyed locks
LCK.sma.locks         38262423      3473.03 Lock Operations
LCK.sma.colls                0         0.00 Collisions
LCK.smf.creat                0         0.00 Created locks
LCK.smf.destroy              0         0.00 Destroyed locks
LCK.smf.locks                0         0.00 Lock Operations
LCK.smf.colls                0         0.00 Collisions
LCK.hsl.creat                0         0.00 Created locks
LCK.hsl.destroy              0         0.00 Destroyed locks
LCK.hsl.locks                0         0.00 Lock Operations
LCK.hsl.colls                0         0.00 Collisions
LCK.hcb.creat                4         0.00 Created locks
LCK.hcb.destroy              0         0.00 Destroyed locks
LCK.hcb.locks           418452        37.98 Lock Operations
LCK.hcb.colls                0         0.00 Collisions
LCK.hcl.creat                0         0.00 Created locks
LCK.hcl.destroy              0         0.00 Destroyed locks
LCK.hcl.locks                0         0.00 Lock Operations
LCK.hcl.colls                0         0.00 Collisions
LCK.vcl.creat                4         0.00 Created locks
LCK.vcl.destroy              0         0.00 Destroyed locks
LCK.vcl.locks          9462038       858.86 Lock Operations
LCK.vcl.colls                0         0.00 Collisions
LCK.stat.creat               4         0.00 Created locks
LCK.stat.destroy             0         0.00 Destroyed locks
LCK.stat.locks            9840         0.89 Lock Operations
LCK.stat.colls               0         0.00 Collisions
LCK.sessmem.creat            4         0.00 Created locks
LCK.sessmem.destroy            0         0.00 Destroyed locks
LCK.sessmem.locks       28114307      2551.90 Lock Operations
LCK.sessmem.colls              0         0.00 Collisions
LCK.wstat.creat                4         0.00 Created locks
LCK.wstat.destroy              0         0.00 Destroyed locks
LCK.wstat.locks           212775        19.31 Lock Operations
LCK.wstat.colls                0         0.00 Collisions
LCK.herder.creat               4         0.00 Created locks
LCK.herder.destroy             0         0.00 Destroyed locks
LCK.herder.locks            1209         0.11 Lock Operations
LCK.herder.colls               0         0.00 Collisions
LCK.wq.creat                   8         0.00 Created locks
LCK.wq.destroy                 0         0.00 Destroyed locks
LCK.wq.locks            38953507      3535.76 Lock Operations
LCK.wq.colls                   0         0.00 Collisions
LCK.objhdr.creat          270862        24.59 Created locks
LCK.objhdr.destroy        141466        12.84 Destroyed locks
LCK.objhdr.locks         4746962       430.88 Lock Operations
LCK.objhdr.colls               0         0.00 Collisions
LCK.exp.creat                  4         0.00 Created locks
LCK.exp.destroy                0         0.00 Destroyed locks
LCK.exp.locks             856264        77.72 Lock Operations
LCK.exp.colls                  0         0.00 Collisions
LCK.lru.creat                  8         0.00 Created locks
LCK.lru.destroy                0         0.00 Destroyed locks
LCK.lru.locks             480694        43.63 Lock Operations
LCK.lru.colls                  0         0.00 Collisions
LCK.cli.creat                  4         0.00 Created locks
LCK.cli.destroy                0         0.00 Destroyed locks
LCK.cli.locks              22068         2.00 Lock Operations
LCK.cli.colls                  0         0.00 Collisions
LCK.ban.creat                  4         0.00 Created locks
LCK.ban.destroy                0         0.00 Destroyed locks
LCK.ban.locks             857486        77.83 Lock Operations
LCK.ban.colls                  0         0.00 Collisions
LCK.vbp.creat                  4         0.00 Created locks
LCK.vbp.destroy                0         0.00 Destroyed locks
LCK.vbp.locks               6642         0.60 Lock Operations
LCK.vbp.colls                  0         0.00 Collisions
LCK.vbe.creat                  4         0.00 Created locks
LCK.vbe.destroy                0         0.00 Destroyed locks
LCK.vbe.locks            1723928       156.48 Lock Operations
LCK.vbe.colls                  0         0.00 Collisions
LCK.backend.creat             12         0.00 Created locks
LCK.backend.destroy            0         0.00 Destroyed locks
LCK.backend.locks       20863568      1893.76 Lock Operations
LCK.backend.colls              0         0.00 Collisions
LCK.busyobj.creat           2153         0.20 Created locks
LCK.busyobj.destroy          658         0.06 Destroyed locks
LCK.busyobj.locks       51597325      4683.43 Lock Operations
LCK.busyobj.colls              0         0.00 Collisions
SMA.s0.c_req              240044        21.79 Allocator requests
SMA.s0.c_fail                  0         0.00 Allocator failures
SMA.s0.c_bytes       14874337772   1350125.97 Bytes allocated
SMA.s0.c_freed       14770447168   1340695.94 Bytes freed
SMA.s0.g_alloc             30924          .   Allocations outstanding
SMA.s0.g_bytes         103890604          .   Bytes outstanding
SMA.s0.g_space       17075978580          .   Bytes available
SMA.Transient.c_req      6620156       600.90 Allocator requests
SMA.Transient.c_fail           0         0.00 Allocator failures
SMA.Transient.c_bytes 173497152178  15748130.36 Bytes allocated
SMA.Transient.c_freed 173487087827  15747216.83 Bytes freed
SMA.Transient.g_alloc         1383          .   Allocations outstanding
SMA.Transient.g_bytes     10064351          .   Bytes outstanding
SMA.Transient.g_space            0          .   Bytes available
VBE.proxy1(xx.xx.xx.xx1,,8080).vcls            4          .   VCL references
VBE.proxy1(xx.xx.xx.xx1,,8080).happy18446744073709551615          .   Happy
health probes
VBE.proxy2(xx.xx.xx.xx2,,8080).vcls            4          .   VCL references
VBE.proxy2(xx.xx.xx.xx2,,8080).happy18446744073709551615          .   Happy
health probes
VBE.proxy3(xx.xx.xx.xx3,,8080).vcls            4          .   VCL references
VBE.proxy3(xx.xx.xx.xx3,,8080).happy18446744073709551615          .   Happy
health probes
VBE.proxy4(xx.xx.xx.xx4,,8081).vcls            4          .   VCL references
VBE.proxy4(xx.xx.xx.xx4,,8081).happy18446744073709551615          .   Happy
health probes




This is my parameter:
param.show
200
acceptor_sleep_decay       0.900000 []
acceptor_sleep_incr        0.001000 [s]
acceptor_sleep_max         0.050000 [s]
auto_restart               on [bool]
ban_dups                   on [bool]
ban_lurker_sleep           0.010000 [s]
between_bytes_timeout      60.000000 [s]
cc_command                 "exec gcc -std=gnu99  -pthread -fpic -shared
-Wl,-x -o %o %s"
cli_buffer                 8192 [bytes]
cli_timeout                10 [seconds]
clock_skew                 10 [s]
connect_timeout            0.700000 [s]
critbit_cooloff            180.000000 [s]
default_grace              10.000000 [seconds]
default_keep               0.000000 [seconds]
default_ttl                120.000000 [seconds]
diag_bitmap                0x0 [bitmap]
esi_syntax                 0 [bitmap]
expiry_sleep               1.000000 [seconds]
fetch_chunksize            128 [kilobytes]
fetch_maxchunksize         262144 [kilobytes]
first_byte_timeout         60.000000 [s]
group                      nobody (65533)
gzip_level                 6 []
gzip_memlevel              8 []
gzip_stack_buffer          32768 [Bytes]
gzip_tmp_space             0 []
gzip_window                15 []
http_gzip_support          on [bool]
http_max_hdr               256 [header lines]
http_range_support         on [bool]
http_req_hdr_len           32768 [bytes]
http_req_size              32768 [bytes]
http_resp_hdr_len          32768 [bytes]
http_resp_size             32768 [bytes]
listen_address             0.0.0.0:8080
listen_depth               1024 [connections]
log_hashstring             on [bool]
log_local_address          off [bool]
lru_interval               2 [seconds]
max_esi_depth              5 [levels]
max_restarts               4 [restarts]
nuke_limit                 50 [allocations]
ping_interval              3 [seconds]
pipe_timeout               60 [seconds]
prefer_ipv6                off [bool]
queue_max                  100 [%]
rush_exponent              3 [requests per request]
saintmode_threshold        10 [objects]
send_timeout               60 [seconds]
sess_timeout               5 [seconds]
sess_workspace             65536 [bytes]
session_linger             100 [ms]
session_max                100000 [sessions]
shm_reclen                 255 [bytes]
shm_workspace              8192 [bytes]
shortlived                 10.000000 [s]
stream_maxchunksize        256 [kilobytes]
stream_tokens              10 []
syslog_cli_traffic         on [bool]
thread_pool_add_delay      2 [milliseconds]
thread_pool_add_threshold  2 [requests]
thread_pool_fail_delay     200 [milliseconds]
thread_pool_max            4000 [threads]
thread_pool_min            200 [threads]
thread_pool_purge_delay    1000 [milliseconds]
thread_pool_stack          unlimited [bytes]
thread_pool_timeout        300 [seconds]
thread_pool_workspace      65536 [bytes]
thread_pools               2 [pools]
thread_stats_rate          10 [requests]
user                       nobody (65534)
vcc_err_unref              on [bool]
vcl_dir                    /opt/varnish-3.0.2-streaming/etc/varnish
vcl_trace                  off [bool]
vmod_dir                   /opt/varnish-3.0.2-streaming/lib/varnish/vmods
waiter                     default (epoll, poll)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20130401/79582f06/attachment-0001.html>


More information about the varnish-misc mailing list