[Varnish] #345: Assert error in CNT_Session()

Varnish varnish-bugs at projects.linpro.no
Fri Oct 17 20:34:23 CEST 2008


#345: Assert error in CNT_Session()
----------------------+-----------------------------------------------------
 Reporter:  kierank   |        Owner:  phk  
     Type:  defect    |       Status:  new  
 Priority:  normal    |    Milestone:       
Component:  varnishd  |      Version:  trunk
 Severity:  major     |   Resolution:       
 Keywords:            |  
----------------------+-----------------------------------------------------
Comment (by peter):

 This is my trace for this error:
 {{{
 Child (31926) Panic message: Assert error in CNT_Session(), cache_center.c
 line 1008:
   Condition(sp->step == STP_FIRST || sp->step == STP_START || sp->step ==
 STP_LOOKUP || sp->step == STP_RECV) not true.  thread = (cache-worker)sp =
 0x2b255004 {
   fd = -1, id = 42, xid = 0,
   client = 10.0.0.2:57384,
   step = STP_DONE,
   handling = HASH,
   ws = 0x2b25504c {
     id = "sess",
     {s,f,r,e} = {0x2b2554dc,,+276,(nil),+8192},
   },
     worker = 0x2e3e2110 {
     },
 },
 }}}
 I can reproduce this using Apache Bench (ab) from the command line with a
 concurrency of 50 and letting it run for 30 seconds (it stops immediately
 however). The error I get from ab is:
 {{{
 Benchmarking 10.0.0.7 (be patient)
 apr_socket_recv: Connection reset by peer (54)
 Total of 186 requests completed
 }}}
 I've copied the ESI example of the Wiki and modified it a little (added
 one extra include and date.cgi is date.php in my case).

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


More information about the varnish-bugs mailing list