[Varnish] #1675: Condition((vbc->in_waiter) != 0) not true.

Varnish varnish-bugs at varnish-cache.org
Tue May 12 15:54:31 CEST 2015


#1675: Condition((vbc->in_waiter) != 0) not true.
----------------------------------+----------------------------------
 Reporter:  zaterio@…             |       Owner:  phk
     Type:  defect                |      Status:  needinfo
 Priority:  normal                |   Milestone:  Varnish 4.0 release
Component:  varnishd              |     Version:  trunk
 Severity:  normal                |  Resolution:
 Keywords:  in_waiter tcp_handle  |
----------------------------------+----------------------------------

Comment (by zaterio@…):

 the following command stops right after the panic:

 {{{
 varnishlog -i Debug -g raw > /home/out.log
 }}}


 FD States

 {{{
 cat /home/salidarwa.txt |grep Handler|awk '{print $8" "$9" "$10" "$11"
 "$12" "$13" "$14" "$15}'|sort|uniq -c|sort -n
 }}}

 {{{
       1 in_w 0 state 0x2 ev 2 have_been 1"
       1 in_w 1 state 0x2 ev 1 have_been 0"
       1 in_w 1 state 0x4 ev 1 have_been 1"
       2 in_w 1 state 0x1 ev 2 have_been 0"
       2 in_w 1 state 0x2 ev 1 have_been 1"
       2 in_w 1 state 0x4 ev 2 have_been 0"
       4 in_w 1 state 0x8 ev 1 have_been 1"
      33 in_w 1 state 0x8 ev 2 have_been 1"
     125 in_w 1 state 0x2 ev 2 have_been 0"
    1081 in_w 1 state 0x2 ev 2 have_been 1"
 }}}


 the next state is suspect:

 {{{
  1 in_w 0 state 0x2 ev 2 have_been 1
 }}}

 * just one case vbc->in_waiter = 0.
 * the log entry is the last in /home/out.log

 It is associated with FD 105:

 {{{
 cat /home/out.log |grep  "fd 105"
 }}}


 {{{
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Close fd 105 in_w 1"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x8 ev 2
 have_been 1"
          0 Debug          - "------> New fd 105"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 0"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 2
 have_been 1"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Close fd 105 in_w 1"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x8 ev 2
 have_been 1"
          0 Debug          - "------> New fd 105"
          0 Debug          - "------> Recycle fd 105 in_w 0"
          0 Debug          - "------> Recycle fd 105 Wait_Enter"
          0 Debug          - "------> Steal fd 105 state 0x1"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Recycle fd 105 in_w 1"
          0 Debug          - "------> Steal fd 105 state 0x4"
          0 Debug          - "------> Handler fd 105 in_w 1 state 0x2 ev 1
 have_been 0"
          0 Debug          - "------> Handler fd 105 in_w 0 state 0x2 ev 2
 have_been 1"
 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1675#comment:12>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list