[Varnish] #487: Varnish crashes on Panic message: Missing errorhandling code in WS_Reserve(), cache_ws.c line 159

Varnish varnish-bugs at projects.linpro.no
Sat May 9 16:50:38 CEST 2009


#487: Varnish crashes on Panic message: Missing errorhandling code in
WS_Reserve(), cache_ws.c line 159
----------------------+-----------------------------------------------------
 Reporter:  anders    |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  high      |    Milestone:       
Component:  varnishd  |      Version:  trunk
 Severity:  normal    |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by anders):

 Increasing sess_workspace from the default 16K to 32K og 64K seems to have
 no effect. Increasing obj_workspace from my current level of 2K to 4K does
 not help either.

 Lastly, I tried to start the latest trunk 4055 with 64K sess_workspace and
 4K obj_workspace. It still crashes:

 {{{
 Child (7082) died signal=6 (core dumped)
 Child (7082) Panic message: Missing errorhandling code in WS_Reserve(),
 cache_ws.c line 159:
   Condition(ws->f + b2 <= ws->e) not true.  thread = (cache-worker)sp =
 0x81599b008 {
   fd = 2717, id = 2717, xid = 1654697922,
   client = 85.19.68.43:2099,
   step = STP_FETCH,
   handling = fetch,
   err_code = 200, err_reason = (null),
   ws = 0x81599b070 {
     id = "sess",
     {s,f,r,e} = {0x81599b800,+996,0x0,+65536},
   },
     worker = 0x7fffeef782c0 {
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
 },
 }}}

 How can we proceed with fixing this?

-- 
Ticket URL: <http://varnish.projects.linpro.no/ticket/487#comment:3>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator


More information about the varnish-bugs mailing list