Frequent Varnish 2.0.4 Panics

Igor Minar iiminar at gmail.com
Fri Apr 17 23:54:25 CEST 2009


Hi there,

I see frequent (~every 30 seconds) Varnish panics when running a light  
load tests on our webapp which is proxied by varnish.

Here are some details:

Varnish 2.0.4 on Solaris 10
Both Varnish and the backend are on the same host
Varnish is started as: varnishd -a 0.0.0.0:8080 -f foo.vcl -T  
0.0.0.0:9998 -t 300 -s malloc,2G -u webservd

Has anyone else experienced the same issue? Let me know if you need  
more info.

Thanks,
Igor


The error messages are:

Error #1:

Apr 17 14:26:31 host1 varnishd[13698]: [ID 679826 local0.error]  
Manager got SIGINT
Apr 17 14:31:31 host1 varnishd[28730]: [ID 540784 local0.error] Child  
(28731) not responding to ping, killing it.
Apr 17 14:31:34 host1 last message repeated 2 times
Apr 17 14:31:34 host1 varnishd[28730]: [ID 733861 local0.error] Child  
(28731) Panic message: Assert error in WS_Release(), cache_ws.c line  
172:
Apr 17 14:31:34 host1   Condition(ws->r != NULL) not true.  errno = 9  
(Bad file number)  thread = (cache-worker)sp = 82963f4 {
Apr 17 14:31:34 host1   fd = 4, id = 4, xid = 1278321417,
Apr 17 14:31:34 host1   client = 192.18.43.225:12811,
Apr 17 14:31:34 host1   step = STP_HIT,
Apr 17 14:31:34 host1   handling = error,
Apr 17 14:31:34 host1   ws = 829643c {
Apr 17 14:31:34 host1     id = "sess",
Apr 17 14:31:34 host1     {s,f,r,e} = {8296a24,,+316,0,+16384},
Apr 17 14:31:34 host1   },
Apr 17 14:31:34 host1     worker = f93adef4 {
Apr 17 14:31:34 host1     },
Apr 17 14:31:34 host1     vcl = {
Apr 17 14:31:34 host1       srcname = {
Apr 17 14:31:34 host1         "input",
Apr 17 14:31:34 host1         "Default",
Apr 17 14:31:34 host1       },
Apr 17 14:31:34 host1     },
Apr 17 14:31:34 host1   obj = 8300fd8 {
Apr 17 14:31:34 host1     refcnt = 5, xid = 1278321415,
Apr 17 14:31:34 host1     ws = 8300ff0 {
Apr 17 14:31:34 host1       id = "obj",
Apr 17 14:31:34 host1       {s,f,r,e} = {83011c4,,+555,0,+7700},
Apr 17 14:31:34 host1     },
Apr 17 14:31:34 host1     http = {
Apr 17 14:31:34 host1       ws = 8300ff0 {
Apr 17 14:31:34 host1         id = "obj",
Apr 17 14:31:34 host1         {s,f,r,e} = {83011c4,,+555,0,+7700},
Apr 17 14:31:34 host1       },
Apr 17 14:31:34 host1       hd = {
Apr 17 14:31:34 host1         "Server: Sun-Java-System-Web-Server/7.0",
Apr 17 14:31:34 host1         "Date: Fri, 17 Apr 2009 21:31:26 GMT",
Apr 17 14:31:34 host1         "Cache-control: no-cache, must- 
revalidate",
Apr 17 14:31:34 host1         "Pragma: no-cache",
Apr 17 14:31:34 host1         "Expires: Thu, 01 Jan 1

Error #2:

Apr 17 14:32:12 host1 varnishd[28730]: [ID 540784 local0.error] Child  
(28817) not responding to ping, killing it.
Apr 17 14:32:13 host1 last message repeated 1 time
Apr 17 14:32:13 host1 varnishd[28730]: [ID 733861 local0.error] Child  
(28817) Panic message: Assert error in WS_Reserve(), cache_ws.c line  
156:
Apr 17 14:32:13 host1   Condition(ws->r == NULL) not true.  errno = 9  
(Bad file number)  thread = (cache-worker)sp = 834d30c {
Apr 17 14:32:13 host1   fd = 41, id = 41, xid = 742183585,
Apr 17 14:32:13 host1   client = 192.18.43.225:8624,
Apr 17 14:32:13 host1   step = STP_HIT,
Apr 17 14:32:13 host1   handling = error,
Apr 17 14:32:13 host1   ws = 834d354 {
Apr 17 14:32:13 host1     id = "sess",
Apr 17 14:32:13 host1     {s,f,r,e} = {834d93c,,+287,0,+16384},
Apr 17 14:32:13 host1   },
Apr 17 14:32:13 host1     worker = f8fadef4 {
Apr 17 14:32:13 host1     },
Apr 17 14:32:13 host1     vcl = {
Apr 17 14:32:13 host1       srcname = {
Apr 17 14:32:13 host1         "input",
Apr 17 14:32:13 host1         "Default",
Apr 17 14:32:13 host1       },
Apr 17 14:32:13 host1     },
Apr 17 14:32:13 host1   obj = 82a0a30 {
Apr 17 14:32:13 host1     refcnt = 5, xid = 742183268,
Apr 17 14:32:13 host1     ws = 82a0a48 {
Apr 17 14:32:13 host1       id = "obj",
Apr 17 14:32:13 host1       {s,f,r,e} = {82a0c1c,,+3939,0,+7700},
Apr 17 14:32:13 host1     },
Apr 17 14:32:13 host1     http = {
Apr 17 14:32:13 host1       ws = 82a0a48 {
Apr 17 14:32:13 host1         id = "obj",
Apr 17 14:32:13 host1         {s,f,r,e} = {82a0c1c,,+3939,0,+7700},
Apr 17 14:32:13 host1       },
Apr 17 14:32:13 host1       hd = {
Apr 17 14:32:13 host1         "Server: Sun-Java-System-Web-Server/7.0",
Apr 17 14:32:13 host1         "Date: Fri, 17 Apr 2009 21:31:38 GMT",
Apr 17 14:32:13 host1         "Cache-control: no-cache, must- 
revalidate",
Apr 17 14:32:13 host1         "Pragma: no-cache",
Apr 17 14:32:13 host1         "Expires: Thu, 01 Jan




More information about the varnish-misc mailing list