[Varnish] #1292: Varnish restarts itself, when processing response from backend
Varnish
varnish-bugs at varnish-cache.org
Wed Apr 10 11:52:45 CEST 2013
#1292: Varnish restarts itself, when processing response from backend
-----------------------------+----------------------
Reporter: ixos | Type: defect
Status: new | Priority: normal
Milestone: Varnish 3.0 dev | Component: varnishd
Version: 3.0.3 | Severity: major
Keywords: |
-----------------------------+----------------------
IPs and hostnames are obfuscated.
{{{
host6 kernel: varnishd[28260]: segfault at 7000 ip 000000000045eb1d sp
00007fc9db1ea130 error 4 in varnishd[400000+80000]
}}}
{{{
Last panic at: Wed, 10 Apr 2013 09:12:59 GMT
Assert error in VDI_CloseFd(), cache_dir.c line 45:
Condition((sp->vbc)->magic == 0x0c5e6592) not true.
thread = (cache-worker)
ident = Linux,3.2.13-grsec-xxxx-grs-
ipv6-64,x86_64,-sfile,-sfile,-sfile,-smalloc,-hcritbit,epoll
Backtrace:
0x434148: /usr/sbin/varnishd() [0x434148]
0x41dbe6: /usr/sbin/varnishd(VDI_CloseFd+0x46) [0x41dbe6]
0x427a38: /usr/sbin/varnishd(FetchBody+0x758) [0x427a38]
0x41ae40: /usr/sbin/varnishd() [0x41ae40]
0x41bc05: /usr/sbin/varnishd(CNT_Session+0x675) [0x41bc05]
0x437249: /usr/sbin/varnishd() [0x437249]
0x7ff3287518ba: /lib/libpthread.so.0(+0x68ba) [0x7ff3287518ba]
0x7ff3284b902d: /lib/libc.so.6(clone+0x6d) [0x7ff3284b902d]
sp = 0x7ff3209b5008 {
fd = 26, id = 26, xid = 1367065654,
client = 86.56.36.58 10585,
step = STP_STREAMDELIVER,
handling = deliver,
err_code = 200, err_reason = (null),
restarts = 0, esi_level = 0
flags =
bodystatus = 4
ws = 0x7ff3209b5080 {
id = "sess",
{s,f,r,e} = {0x7ff3209b5d70,+632,(nil),+65536},
},
http[req] = {
ws = 0x7ff3209b5080[sess]
"GET",
"/banners/computersinternetdownloads/graphics.jpg",
"HTTP/1.1",
"User-Agent: Jedessine/1.3 CFNetwork/485.13.9 Darwin/11.0.0",
"Accept: */*",
"Accept-Language: fr-fr",
"Accept-Encoding: gzip, deflate",
"Cache-Control: max-age=43200",
"Connection: keep-alive",
"host: images.net",
"dns: 1",
"X-Forwarded-For: 84.90.27.33",
"X-Remote-Ip: 84.90.27.33",
"Remote-Ip: 84.90.27.33",
"X-CDN-Geo: par",
"X-CDN-Geo-IP: 66.249.73.37",
"X-Cacheable-Force: 1",
"X-Cacheable: Matched cache",
},
worker = 0x7fc9d1fa1aa0 {
ws = 0x7fc9d1fa1ce8 {
id = "wrk",
{s,f,r,e} = {0x7fc9d1f8fa30,+216,(nil),+65536},
},
http[resp] = {
ws = 0x7fc9d1fa1ce8[wrk]
"HTTP/1.1",
"200",
"OK",
"Last-Modified: Thu, 29 Oct 2009 10:48:00 GMT",
"Vary: Accept-Encoding",
"Expires: Thu, 31 Dec 2037 23:55:55 GMT",
"Pragma: public",
"Content-Encoding: gzip",
"Content-Type: image/png",
"Accept-Ranges: bytes",
"Date: Wed, 10 Apr 2013 09:12:59 GMT",
"Connection: keep-alive",
"X-Cacheable: Matched cache",
"X-CDN-Geo: par",
"X-CDN-Geo-IP: 66.249.73.37",
"Content-Length: 6598",
},
},
vcl = {
srcname = {
"input",
"Default",
},
},
obj = 0x7fe52851b000 {
xid = 1367065654,
ws = 0x7fe52851b018 {
id = "obj",
{s,f,r,e} = {0x7fe52851b228,+400,(nil),+424},
},
http[obj] = {
ws = 0x7fe52851b018[obj]
"HTTP/1.1",
"OK",
"Date: Wed, 10 Apr 2013 09:13:10 GMT",
"Server: Apache/2.4.3 (Unix) OpenSSL/1.0.1c",
"Last-Modified: Thu, 29 Oct 2009 10:48:00 GMT",
"Vary: Accept-Encoding",
"Expires: Thu, 31 Dec 2037 23:55:55 GMT",
"Pragma: public",
"Content-Encoding: gzip",
"X-Cache: HIT from cache1.net",
"Content-Type: image/png",
"Content-Length: 6598",
},
len = 6598,
store = {
6598 {
1f 8b 08 00 00 00 00 00 00 03 00 0a 10 f5 ef 89 |................|
50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 |PNG........IHDR.|
00 00 64 00 00 00 64 08 06 00 00 00 70 e2 95 54 |..d...d.....p..T|
00 00 00 19 74 45 58 74 53 6f 66 74 77 61 72 65 |....tEXtSoftware|
[6534 more]
},
},
},
},
}}}
--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1292>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list