Varnish 3.0 beta1 with persistent cache crashes every 10 minutes
Lin Jui-Nan Eric
ericlin at tamama.org
Fri May 13 08:48:52 CEST 2011
Hello All,
I have tried varnish recently but found it crashes every 10 minutes:
tmp-1-117 [/big] -jnlin- varnishd -V
varnishd (varnish-3.0.0-beta1 revision varnish-3.0.0-beta1)
Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS
tmp-1-117 [/big] -jnlin- uname -a
FreeBSD tmp-1-117 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17
02:41:51 UTC 2011
root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
tmp-1-117 [/big] -jnlin- dmesg -a | less
-RELEASE,amd64,-spersistent,-smalloc,-hcritbit,kqueue sp =
0x280692a008 { fd = 17, id = 17, xid = 617873085, client =
10.1.1.5 1799, step = STP_ERROR, handling = deliver, err_code =
400, err_reason = (null), restarts = 0, esi_level = 0 ws =
0x280692a080 { id = "sess", {s,f,r,e} =
{0x280692ace0,+2520,0x0,+65536}, }, http[req] = { ws =
0x280692a080[sess] "GET",
"/f.pixnet.net/js/all.js?v=545d6dbf1980b02c6ff9e5ea863d979f",
"HTTP/1.1", "Host: s.pixfs.net", "User-Agent: Mozilla/5.0
(Windows; U; Windows NT 5.1; zh-TW; rv:1.9.2.6) Gecko/20100625
Firefox/3.6.6", "Accept: */*", "Accept-Language:
zh-tw,en-us;q=0.7,en;q=0.3", "Accept-Encoding: gzip,deflate",
"Accept-Charset: UTF-8,*", "Keep-Alive: 115",
"Connection: k
pid 95058 (varnishd), uid 65534: exited on signal 6
May 13 02:04:14 tmp-1-117 /big[35707]: Child (95058) Panic message:
Assert error in smp_allocobj(), storage_persistent.c line 497:
Condition((sp->objcore) != 0) not true. thread = (cache-worker) ident
= FreeBSD,8.2-RELEASE,amd64,-spersistent,-smalloc,-hcritbit,kqueue sp
= 0x28071dd008 { fd = 33, id = 33, xid = 637471130, client =
10.1.1.5 49373, step = STP_ERROR, handling = deliver, err_code =
400, err_reason = (null), restarts = 0, esi_level = 0 ws =
0x28071dd080 { id = "sess", {s,f,r,e} =
{0x28071ddce0,+2536,0x0,+65536}, }, http[req] = { ws =
0x28071dd080[sess] "GET",
"/panel/images/blog/common/pixmore/trans.gif", "HTTP/1.1",
"Host: s.pixfs.net", "User-Agent: Mozilla/5.0 (Windows; U;
Windows NT 5.1; zh-TW; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6",
"Accept: image/png,image/*;q=0.8,*/*;q=0.5", "Accept-Language:
zh-tw,en-us;q=0.7,en;q=0.3", "Accept-Encoding: gzip,deflate",
"Accept-Charset: UTF-8,*", "Keep-Alive: 115",
pid 49696 (varnishd), uid 65534: exited on signal 6
May 13 02:04:17 tmp-1-117 /big[35707]: Child (49696) Panic message:
Assert error in smp_allocobj(), storage_persistent.c line 497:
Condition((sp->objcore) != 0) not true. thread = (cache-worker) ident
= FreeBSD,8.2-RELEASE,amd64,-spersistent,-smalloc,-hcritbit,kqueue sp
= 0x2807136008 { fd = 20, id = 20, xid = 89186144, client =
10.1.1.6 44867, step = STP_ERROR, handling = deliver, err_code =
400, err_reason = (null), restarts = 0, esi_level = 0 ws =
0x2807136080 { id = "sess", {s,f,r,e} =
{0x2807136ce0,+2536,0x0,+65536}, }, http[req] = { ws =
0x2807136080[sess] "GET",
"/common/toolbar/userinfo.css?v=545d6dbf1980b02c6ff9e5ea863d979f",
"HTTP/1.1", "Host: s.pixfs.net", "User-Agent:
Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-TW; rv:1.9.2.6)
Gecko/20100625 Firefox/3.6.6", "Accept: text/css,*/*;q=0.1",
"Accept-Language: zh-tw,en-us;q=0.7,en;q=0.3",
"Accept-Encoding: gzip,deflate", "Accept-Charset: UTF-8,*",
"Keep-Alive: 115",
pid 94341 (varnishd), uid 65534: exited on signal 6
[...sniped...]
My varnish config is here: https://gist.github.com/970095
And my parameters of running varnish is:
tmp-1-117 [/big] -jnlin- sudo varnishd -a :3128 -T 127.0.0.1:6082 -f
/big/test.vcl -n /big -s persistent,/big/cache/varnish.cache,96G -w
100,2000 -u nobody
Any suggestion is welcomed :)
More information about the varnish-misc
mailing list