[Varnish] #774: Panic message: Assert error in STV_alloc()

Varnish varnish-bugs at varnish-cache.org
Mon Dec 13 09:04:41 CET 2010


#774: Panic message: Assert error in STV_alloc()
-----------------------+----------------------------------------------------
 Reporter:  wittwerch  |       Owner:  kristian
     Type:  defect     |      Status:  assigned
 Priority:  low        |   Milestone:          
Component:  varnishd   |     Version:  2.0     
 Severity:  normal     |    Keywords:          
-----------------------+----------------------------------------------------
Changes (by kristian):

  * status:  new => assigned


Old description:

> We encountered a crash on our varnish server.
>
> Sep  7 14:01:50 myserver varnishd[26296]: Child (26297) Panic message:
> Assert error in STV_alloc(), stevedore.c line 71:   Condition((st) !=
> NULL) not true. thread = (cache-worker) Backtrace:   0x41ba68:
> /usr/sbin/varnishd [0x41ba68]   0x43121d:
> /usr/sbin/varnishd(STV_alloc+0x9d) [0x43121d]   0x4154e2:
> /usr/sbin/varnishd(Fetch+0x6b2) [0x4154e2]   0x410154: /usr/sbin/varnishd
> [0x410154]   0x411379: /usr/sbin/varnishd(CNT_Session+0x389) [0x411379]
> 0x41d9e2: /usr/sbin/varnishd [0x41d9e2]   0x41cf4f: /usr/sbin/varnishd
> [0x41cf4f]   0x372f806617: /lib64/libpthread.so.0 [0x372f806617]
> 0x372f0d3c2d: /lib64/libc.so.6(clone+0x6d) [0x372f0d3c2d] sp =
> 0x2aaaedfa2008 {   fd = 37, id = 37, xid = 1793847417,   client =
> 84.253.6.190:44291,   step = STP_FETCH,   handling = discard,   restarts
> = 0, esis = 0   ws = 0x2aaaedfa2080 {      id = "sess",     {s,f,r,e} =
> {0x2aaaedfa2820,+391,(nil),+16384},   },   http[req] = {     ws =
> 0x2aaaedfa2080[sess]       "GET",       "/mammut-extern/TokoPST/DSC.zip",
> "HTTP/1.1",
>
> There was no port open on tcp/80 anymore, so the automatically restart
> did not work.

New description:

 We encountered a crash on our varnish server.

 Sep  7 14:01:50 myserver varnishd[26296]: Child (26297) Panic message:
 Assert error in STV_alloc(), stevedore.c line 71:   Condition((st) !=
 NULL) not true. thread = (cache-worker) Backtrace:   0x41ba68:
 /usr/sbin/varnishd [0x41ba68]   0x43121d:
 /usr/sbin/varnishd(STV_alloc+0x9d) [0x43121d]   0x4154e2:
 /usr/sbin/varnishd(Fetch+0x6b2) [0x4154e2]   0x410154: /usr/sbin/varnishd
 [0x410154]   0x411379: /usr/sbin/varnishd(CNT_Session+0x389) [0x411379]
 0x41d9e2: /usr/sbin/varnishd [0x41d9e2]   0x41cf4f: /usr/sbin/varnishd
 [0x41cf4f]   0x372f806617: /lib64/libpthread.so.0 [0x372f806617]
 0x372f0d3c2d: /lib64/libc.so.6(clone+0x6d) [0x372f0d3c2d] sp =
 0x2aaaedfa2008 {   fd = 37, id = 37, xid = 1793847417,   client =
 84.253.6.190:44291,   step = STP_FETCH,   handling = discard,   restarts =
 0, esis = 0   ws = 0x2aaaedfa2080 {      id = "sess",     {s,f,r,e} =
 {0x2aaaedfa2820,+391,(nil),+16384},   },   http[req] = {     ws =
 0x2aaaedfa2080[sess]       "GET",       "/mammut-extern/TokoPST/DSC.zip",
 "HTTP/1.1",

 There was no port open on tcp/80 anymore, so the automatically restart did
 not work.

--

Comment:

 David: What parameters are you using to start up?

 Your log confirms running out of space (ie: LRU). We've seen this in the
 past on servers with multiple -s arguments where one is tiny.

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/774#comment:5>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list