[Varnish] #1494: panic on retry in vcl_backend_response
Varnish
varnish-bugs at varnish-cache.org
Tue May 6 15:51:03 CEST 2014
#1494: panic on retry in vcl_backend_response
-------------------------+--------------------
Reporter: g.gerritsen | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: 4.0.0 | Severity: normal
Keywords: |
-------------------------+--------------------
{{{#!python
vcl_backend_response {
if(beresp.status == 500) {
return(retry);
}
}
}}}
gives the following panic on centos 6.5 when encountering a 503 status
{{{#!python
Child (30201) died signal=6 (core dumped)
Child (30201) Panic message: Assert error in vbf_stp_startfetch(),
cache/cache_fetch.c line 258:
Condition((bo->should_close) == 0) not true.
thread = (cache-worker)
ident =
Linux,2.6.32-431.11.2.el6.x86_64,x86_64,-smalloc,-smalloc,-hcritbit,epoll
Backtrace:
0x43a536: /usr/sbin/varnishd() [0x43a536]
0x43a846: /usr/sbin/varnishd() [0x43a846]
0x422e26: /usr/sbin/varnishd() [0x422e26]
0x425273: /usr/sbin/varnishd() [0x425273]
0x43c343: /usr/sbin/varnishd(Pool_Work_Thread+0x416) [0x43c343]
0x454ce2: /usr/sbin/varnishd() [0x454ce2]
0x454e0b: /usr/sbin/varnishd(WRK_thread+0x27) [0x454e0b]
0x3f25c079d1: /lib64/libpthread.so.0() [0x3f25c079d1]
0x3f258e8b6d: /lib64/libc.so.6(clone+0x6d) [0x3f258e8b6d]
busyobj = 0x7f7fd00b7020 {
ws = 0x7f7fd00b70e8 {
id = "bo",
{s,f,r,e} = {0x7f7fd00b8ff0,+552,(nil),+57392},
},
refcnt = 2
retries = 1
failed = 0
state = 1
is_do_stream
is_should_close
bodystatus = 3 (length),
},
http[bereq] = {
ws = 0x7f7fd00b70e8[bo]
"GET",
"/503.php",
"HTTP/1.1",
"User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0)
Gecko/20100101 Firefox/29.0",
"Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
"Accept-Language: en-US,en;q=0.5",
"X-Forwarded-For: 127.0.0.1, 127.0.0.1",
"Host: monitor.nl.local",
"Accept-Encoding: gzip",
"X-Varnish: 3",
},
http[beresp] = {
ws = 0x7f7fd00b70e8[bo]
"HTTP/1.1",
"503",
"Internal Server Error",
"Date: Tue, 06 May 2014 13:45:30 GMT",
"Server: Apache/2.2.15 (CentOS)",
"X-Powered-By: PHP/5.4.26",
"Content-Length: 0",
"Connection: close",
"Content-Type: text/html; charset=UTF-8",
},
ws = 0x7f7fd00b7270 { BAD_MAGIC(0x00000000) },
},
objcore (FETCH) = 0x7f7fcb028080 {
refcnt = 2
flags = 0x2
objhead = 0x7f7fcb02a080
}
}
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1494>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list