[Varnish] #1342: Assert error in hsh_rush(), cache/cache_hash.c line 534:

Varnish varnish-bugs at varnish-cache.org
Thu Sep 12 16:27:04 CEST 2013


#1342: Assert error in hsh_rush(), cache/cache_hash.c line 534:
----------------------+-------------------
 Reporter:  lkarsten  |      Owner:
     Type:  defect    |     Status:  new
 Priority:  normal    |  Milestone:
Component:  varnishd  |    Version:  trunk
 Severity:  normal    |   Keywords:
----------------------+-------------------
 I have seen an assert in current master (53e6f23)

 This happened once, I've not been able to reproduce it after ~6 subsequent
 runs.

 30 concurrent siege workers. (pulls ~170MB/s, 2x 1GE bonded)

 startup args:
 {{{
 /opt/varnish/sbin/varnishd -T localhost:6082 -a :6081
 -f /opt/varnish/etc/testsuite.vcl -smalloc,50M -p thread_pool_max=3000
 -p thread_pool_min=1000 -P /opt/varnish/var/varnishd.pid
 }}}


 vcl:
 {{{
 backend default {
         .host = "127.0.0.1";
         .port = "80";
 }
 sub vcl_backend_response { set beresp.do_stream = false; }## end
 }}}


 {{{
 Last panic at: Thu, 12 Sep 2013 14:00:30 GMT
 Assert error in hsh_rush(), cache/cache_hash.c line 534:
   Condition((req->wrk) == 0) not true.
 thread = (cache-worker)
 ident = Linux,3.2.0-51-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42f327: ObjIterEnd+637
   0x423081: VGZ_Destroy+971
   0x4244c1: HSH_DerefObjCore+b1
   0x416c95: VBO_DerefBusyObj+165
   0x41f02e: EXP_Init+a1e
   0x431763: Pool_Work_Thread+c3
   0x444598: WRK_SumStat+108
   0x7fbd4a110e9a: _end+7fbd49a8c702
   0x7fbd49e3dccd: _end+7fbd497b9535
   busyobj = 0x7fbd180008e0 {
     ws = 0x7fbd18000980 {
       id = "bo",
       {s,f,r,e} = {0x7fbd18002890,+32792,(nil),+57424},
     },
     is_gunzip
     bodystatus = 4 (length),
     },
     ws = 0x7fbd18000b10 {
       id = "obj",
       {s,f,r,e} = {0x7fbc980115b0,+256,(nil),+264},
     },
   }
 }}}

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




More information about the varnish-bugs mailing list