[Varnish] #310: WS_Reserve panic + error

Varnish varnish-bugs at varnish-cache.org
Thu Feb 10 23:11:26 CET 2011


#310: WS_Reserve panic + error
----------------------+-----------------------------------------------------
 Reporter:  sky       |        Owner:  kristian           
     Type:  defect    |       Status:  assigned           
 Priority:  normal    |    Milestone:  Varnish 2.1 release
Component:  varnishd  |      Version:  2.1.4              
 Severity:  normal    |   Resolution:                     
 Keywords:            |  
----------------------+-----------------------------------------------------

Comment(by harm):

 I can confirm that this issue still exists in v2.1.5
 {{{
 Feb 10 23:04:29 true1 varnishd[6213]: Child (20808) Panic message: Assert
 error in WS_Reserve(), cache_ws.c line 174:  Condition(ws->r == NULL) not
 true.
 thread = (cache-worker)#012ident =
 Linux,2.6.32-26-server,x86_64,-smalloc,-hcritbit,epoll
 Backtrace:  0x426778: /usr/sbin/varnishd()
 [0x426778]#012  0x432084: /usr/sbin/varnishd(WS_Reserve+0x54)
 [0x432084]#012  0x42be95: /usr/sbin/varnishd() [0x42be95]#012  0x4309b8:
 /usr/sbin/varnishd(VRT_SetHdr+0xf8)
 [0x4309b8]#012  0x7f3bf06f7fb3: ./vcl.1P9zoqAU.so(+0x1fb3)
 [0x7f3bf06f7fb3]#012  0x42b5e3: /usr/sbin/varnishd(VCL_hit_method+0x43)
 [0x42b5e3]#012  0x413b01: /usr/sbin/varnishd()
 [0x413b01]#012  0x415a3d: /usr/sbin/varnishd(CNT_Session+0x33d)
 [0x415a3d]#012  0x427f28: /usr/sbin/varnishd()
 [0x427f28]#012  0x4282fb: /usr/sbin/varnishd()
 [0x4282fb]
 sp = 0x7f3b2703e008 {
 #012  fd = 14, id = 14, xid = 2058269645,#012  client = 87.233.6.43
 36464,#012  step = STP_HIT,#012  handling = deliver,#012  restarts = 0,
 esis = 0#012  ws = 0x7f3b2703e080 { #012    id = "sess",#012
 }}}


 I have the following {{{ vcl_hit }}}
 {{{
 sub vcl_hit {
         if (!obj.cacheable) {
                 return(pass);
         }

         set obj.http.X-Cache = "Cache-Hit";

         return (deliver);
 }

 }}}

-- 
Ticket URL: <http://varnish-cache.org/trac/ticket/310#comment:14>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list