[Varnish] #1805: Assert error in Tcheck()

Varnish varnish-bugs at varnish-cache.org
Thu Oct 22 12:17:55 CEST 2015


#1805: Assert error in Tcheck()
---------------------------------+--------------------
 Reporter:  colas                |       Type:  defect
   Status:  new                  |   Priority:  normal
Milestone:  Varnish 4.0 release  |  Component:  build
  Version:  unknown              |   Severity:  normal
 Keywords:                       |
---------------------------------+--------------------
 Hy,

 We use varnish-4.0.3 revision b8c4a34.
 Started with all this params :

 {{{
 NFILES=131072
 MEMLOCK=164000

 DAEMON_OPTS="-a :80 \
 -T 0.0.0.0:6083 \
 -f /etc/varnish/cfvarnish.vcl \
 -s file,/opt/cache/varnishstorage1.bin,35G \
 -s file,/opt/cache/varnishstorage2.bin,35G \
 -s file,/opt/cache/varnishstorage3.bin,35G \
 -S /etc/varnish/secret \
 -p http_gzip_support=on \
 -p thread_pools=6 \
 -p thread_pool_min=100 \
 -p thread_pool_max=800 \
 -p nuke_limit=500 \
 -p cli_timeout=20 \
 -l 160m"
 }}}


 Sometimes I get panic like this. This error could be very frequent, each
 minutes for exemple.


 {{{
 varnish> panic.show
 200
 Last panic at: Thu, 22 Oct 2015 09:25:49 GMT
 Assert error in Tcheck(), cache/cache.h line 1296:
   Condition((t.b) != 0) not true.
 thread = (cache-worker)
 version = varnish-4.0.3 revision b8c4a34
 ident =
 Linux,3.2.0-4-amd64,x86_64,-sfile,-sfile,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x435424: /usr/sbin/varnishd() [0x435424]
   0x40e7e8: /usr/sbin/varnishd() [0x40e7e8]
   0x429e33: /usr/sbin/varnishd() [0x429e33]
   0x42c856: /usr/sbin/varnishd(http_FilterResp+0x86) [0x42c856]
   0x420d3e: /usr/sbin/varnishd() [0x420d3e]
   0x42142f: /usr/sbin/varnishd() [0x42142f]
   0x438301: /usr/sbin/varnishd(Pool_Work_Thread+0x381) [0x438301]
   0x44b29d: /usr/sbin/varnishd() [0x44b29d]
   0x7f5fe03dbb50: /lib/x86_64-linux-gnu/libpthread.so.0(+0x6b50)
 [0x7f5fe03dbb50]
   0x7f5fe012595d: /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)
 [0x7f5fe012595d]
   busyobj = 0x7f456d889020 {
     ws = 0x7f456d8890e0 { OVERFLOW
       id = ""o",
       {s,f,r,e} = {0x7f456d88b008,+57368,(nil),+57368},
     },
   refcnt = 2
   retries = 3
   failed = 0
   state = 1
     is_do_stream
     is_do_pass
     is_uncacheable
     bodystatus = 0 (none),
     },
     http[bereq] = {
       ws = 0x7f456d8890e0["o]
         "GET",
         "/aaaaaaaaaaaaaaaa.htm",
         "HTTP/1.1",
         "User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:41.0) Gecko/20100101
 Firefox/41.0",
         "Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
         "Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3",
         "Accept-Encoding: gzip, deflate",
         "Referer: http://aaaaaaaaaaaaaaaaaaaaaaaaaaa",
         "Cookie: md_users_res=1280x800; p=3; md_data=cham51;,
         "Cache-Control: max-age=0",
         "X-UA-Device: pc",
         "Via: 1.1 varnish-v4",
         "grace: none",
         "X-Forwarded-For: xx.xxx.xx.xxx, xx.xxx.xx.xxx",
         "Host: aaaaaaaaaaaaaaaaaa",
         "X-Pass: Connected",
         "X-Varnish: 655363",
         "X-Varnish: 2326529",
         "X-Varnish: 2326530",
     },
     http[beresp] = {
       ws = 0x7f456d8890e0["o]
         "HTTP/1.1",
         "Backend fetch failed",
         "Server: Varnish",
     },
     ws = 0x7f456d889270 {
       id = "obj",
       {s,f,r,e} = {0x7f55ebdb12c8,0x7f55ebdb12c8,(nil),+56},
     },
   objcore (FETCH) = 0x7f4578840020 {
     refcnt = 2
     flags = 0x106
     objhead = 0x7f5fdf450500
   }
   obj (FETCH) = 0x7f55ebdb1180 {
     vxid = 2149810179,
     http[obj] = {
       ws = 0x7f456d889270[obj]
         "HTTP/1.1",
     },
     len = 0,
     store = {
     },
   },
   }
 }}}


 The error appears when I do a return(pass) in vcl_recv

 File attache : the configuration vcl file

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1805>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list