Mailing List Archive

1 2  View All
Re: #1675: Condition((vbc->in_waiter) != 0) not true. [ In reply to ]
#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@…):

22 hours and running OK, According to my statistics on this server, this
bug appears every 12 +/- 7 hours (2 month sample), so in 47 hours we will
be in 5-sigma region (99.999996% confidence).

Regards

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1675: Condition((vbc->in_waiter) != 0) not true. [ In reply to ]
#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 lkarsten):

Still crashing:

{{{
Last panic at: Sun, 14 Jun 2015 04:56:04 GMT
Assert error in tcp_handle(), cache/cache_backend_tcp.c line 96:
Condition((vbc->backend) != NULL) not true.
thread = (cache-epoll)
version = varnish-trunk revision 0fd62ec
ident =
Linux,3.13.0-54-generic,x86_64,-junix,-smalloc,-smalloc,-hcritbit,epoll
Backtrace:
0x43ab27: pan_backtrace+0x19
0x43af0f: pan_ic+0x299
0x414914: tcp_handle+0x1ae
0x47a559: Wait_Call+0x1db
0x47b25b: vwe_thread+0x5a4
0x7f1e94674182: libpthread.so.0(+0x8182) [0x7f1e94674182]
0x7f1e943a147d: libc.so.6(clone+0x6d) [0x7f1e943a147d]

}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1675: Condition((vbc->in_waiter) != 0) not true. [ In reply to ]
#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 lkarsten):

Got a panic with -Wpoll as well:

{{{
Last panic at: Thu, 18 Jun 2015 07:19:15 GMT
Assert error in VBT_Close(), cache/cache_backend_tcp.c line 321:
Condition(vbc->state == VBC_STATE_USED) not true.
thread = (cache-worker)
version = varnish-trunk revision 25ae15e
ident =
Linux,3.13.0-55-generic,x86_64,-junix,-smalloc,-smalloc,-hcritbit,poll
Backtrace:
0x43ab27: pan_backtrace+0x19
0x43af0f: pan_ic+0x299
0x4157bc: VBT_Close+0x109
0x410541: vbe_dir_finish+0x2a3
0x410a93: vbe_dir_gethdrs+0x399
0x41bcc1: VDI_GetHdr+0x140
0x4260db: vbf_stp_startfetch+0x333
0x428a01: vbf_fetch_thread+0x3af
0x455657: Pool_Work_Thread+0x51d
0x454287: WRK_Thread+0x2a9
busyobj = 0x7f1c5589c020 {
ws = 0x7f1c5589c0e0 {
id = "bo",
{s,f,r,e} = {0x7f1c5589df98,+224,(nil),+57440},
},
refcnt = 2
retries = 0
failed = 0
state = 1
flags = {
do_stream
do_pass
uncacheable
}
bodystatus = 0 (none),
},
http[bereq] = {
ws = 0x7f1c5589c0e0[bo]
"POST",
"/pdf/IPV6WHY.PDF",
"HTTP/1.1",
"User-Agent: Mozilla/5.0",
"Accept: */*",
"Content-Type: application/x-www-form-urlencoded",
"Host: hyse.org",
"Content-Length: 395",
"X-Forwarded-For: 61.164.253.70",
"X-Varnish: 65709",
},
http[beresp] = {
ws = 0x7f1c5589c0e0[bo]
},
objcore (FETCH) = 0x7f1c540f2d80 {
refcnt = 2
flags = 0x102
objhead = 0x7f1c668ef500
stevedore = (nil)
}
}

}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs
Re: #1675: Condition((vbc->in_waiter) != 0) not true. [ In reply to ]
#1675: Condition((vbc->in_waiter) != 0) not true.
----------------------------------+----------------------------------
Reporter: zaterio@… | Owner: phk
Type: defect | Status: closed
Priority: normal | Milestone: Varnish 4.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution: fixed
Keywords: in_waiter tcp_handle |
----------------------------------+----------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

* status: needinfo => closed
* resolution: => fixed


Comment:

In [bd702410005f0963dab2ed93c1407ddaa577db12]:
{{{
#!CommitTicketReference repository=""
revision="bd702410005f0963dab2ed93c1407ddaa577db12"
Make sure we don't finish off a backend connection while the waiter
is still engaged with it.

Simplify the "do a single retry" logic slightly while here.

Add more asserts.

This probably fixes #1675.

Initial diagnosis by: martin
}}}

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

_______________________________________________
varnish-bugs mailing list
varnish-bugs@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

1 2  View All