[Varnish] #779: Varnish craches

Varnish varnish-bugs at varnish-cache.org
Sat Sep 18 00:28:34 CEST 2010


#779: Varnish craches
--------------------------+-------------------------------------------------
 Reporter:  piripirigoso  |       Owner:  phk                 
     Type:  defect        |      Status:  new                 
 Priority:  highest       |   Milestone:  Varnish 2.1 release 
Component:  varnishd      |     Version:  2.1.3               
 Severity:  blocker       |    Keywords:  varnishd STV_alloc()
--------------------------+-------------------------------------------------
 Dear All,

 My varnish is crashing.

 I don't understand the log. Follow the error:

 '''Sep 16 18:50:46 my-host kernel:varnishd[4436]: segfault at
 000000003ffa91a8 rip 0000000000423bf3 rsp 000000003ffa91b0 error 6
 Sep 16 21:50:46 my-host varnishd[3214]: Child (4271) died signal=11
 Sep 16 21:50:46 my-host varnishd[3214]: child (4437) Started
 Sep 16 21:50:46 my-host varnishd[3214]: Child (4437) said
 Sep 16 21:50:46 my-host varnishd[3214]: Child (4437) said Child starts
 Sep 16 21:50:46 my-host varnishd[3214]: Child (4437) said managed to mmap
 29851648 bytes of 29851648
 Sep 16 21:50:49 my-host varnishd[3214]: Child (4437) died signal=6
 Sep 16 21:50:49 my-host varnishd[3214]: Child (4437) Panic message: Assert
 error in STV_alloc(), stevedore.c line 192:   Condition((st) != NULL) not
 true. thread = (cache-worker) ident =
 Linux,2.6.18-164.el5,x86_64,-sfile,-hclassic,epoll Backtrace:   0x422726:
 /usr/sbin/varnishd [0x422726]   0x437e75:
 /usr/sbin/varnishd(STV_alloc+0x185) [0x437e75]   0x41a918:
 /usr/sbin/varnishd(FetchBody+0x4c8) [0x41a918]   0x412960:
 /usr/sbin/varnishd [0x412960]   0x413ed5:
 /usr/sbin/varnishd(CNT_Session+0x345) [0x413ed5]   0x424b78:
 /usr/sbin/varnishd [0x424b78]   0x423e5d: /usr/sbin/varnishd [0x423e5d]
 0x3ae0c064a7: /lib64/libpthread.so.0 [0x3ae0c064a7]   0x3ae04d3c2d:
 /lib64/libc.so.6(clone+0x6d) [0x3ae04d3c2d] sp = 0x2aad6cb00008 {   fd =
 1117, id = 1117, xid = 1453303514,   client = 201.88.100.232:1232,   step
 = STP_FETCH,   handling = deliver,   err_code = 200, err_reason = (null),
 restarts = 0, esis = 0   ws = 0x2aad6cb00078 {      id = "sess",
 {s,f,r,e} = {0x2aad6cb08c50,+22440,(nil),+10242880},   },   http[req] = {
 ws = 0x2aad6cb00078[sess]       "GET",
 "/dl/169b4479c740c9f01834ce7431e4e51b/src.swf",       "HTTP/1.1",
 "User-Agent: Opera/9.27 (Windows NT 5.1; U; pt-br)",       "Host:
 img.clickjogos.uol.com.br",       "Accept: text/html,
 application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg,
 image/gif, image/x-xbitmap, */*;q=0.1",       "Accept-Language: pt-
 br,pt;q=0.9,en;q=0.8",       "Accept-Charset: iso-8859-1, utf-8, utf-16,
 *;q=0.1",       "Referer: http://clickjogos.uol.com.br/Jogos-
 online/Tiro/Dogfight-2-The-Great-War/",       "Cookie2: $Version=1",
 "Connection: Keep-Alive, TE",       "TE: deflate, gzip, chunked, identity,
 trailers",       "Accept-Encoding: gzip",   },   worker = 0x2aadbdfffe50 {
 ws = 0x2aadbdffffc0 {        id = "wrk",       {s,f,r,e} =
 {0x2aadbd5b1ee0,+5816,(nil),+10242880},     },     http[bereq] = {
 ws = 0x2aadbdffffc0[wrk]         "GET",
 "/dl/169b4479c740c9f01834ce7431e4e51b/src.swf",         "HTTP/1.1",
 "User-Agent: Opera/9.27 (Windows NT 5.1; U; pt-br)",         "Host:
 img.clickjogos.uol.com.br",         "Accept: text/html,
 application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg,
 image/gif, image/x-xbitmap, */*;q=0.1",         "Accept-Language: pt-
 br,pt;q=0.9,en;q=0.8",         "Accept-Charset: iso-8859-1, utf-8, utf-16,
 *;q=0.1",         "Referer: http://clickjogos.uol.com.br/Jogos-
 online/Tiro/Dogfight-2-The-Great-War/",         "Cookie2: $Version=1",
 "Accept-Encoding: gzip",         "X-Varnish: 1453303514",     },
 http[beresp] = {       ws = 0x2aadbdffffc0[wrk]         "HTTP/1.1",
 "200",         "OK",         "Content-Type: application/x-shockwave-
 flash",         "ETag: "-527502804"",         "Accept-Ranges: bytes",
 "Last-Modified: Fri, 14 Nov 2008 02:42:34 GMT",         "Expires: Fri, 17
 Sep 2010 21:50:49 GMT",         "Cache-Control: max-age=86400",
 "Content-Length: 3226910",         "Date: Thu, 16 Sep 2010 21:50:49 GMT",
 "Server: lighttpd/1.5.0",     },     },     vcl = {       srcname = {
 "input",         "Default",
 "/opt/varnish/etc/varnish/uolproxy_backend.vcl",
 "/etc/varnish/backend/virgula.vcl",
 "/etc/varnish/backend/videolog.vcl",
 "/etc/varnish/backend/hardgamer.vcl",
 "/etc/varnish/backend/trofeuinternet.vcl",
 "/etc/varnish/backend/cosmopax.vcl",
 "/etc/varnish/backend/clickjogos.vcl",
 "/opt/varnish/etc/varnish/backend/mtv.vcl",       },     },   obj =
 0x2aaab11bb000 {     xid = 1453303514,     ws = 0x2aaab11bb020 {        id
 = "obj",       {s,f,r,e} = {0x2aaab11bb228,+288,(nil),+3544},     },
 http[obj] = {       ws = 0x2aaab11bb020[obj]         "HTTP/1.1",
 "200",         "OK",         "Content-Type: application/x-shockwave-
 flash",         "ETag: "-527502804"",         "Last-Modified: Fri, 14 Nov
 2008 02:42:34 GMT",         "Expires: Fri, 17 Sep 2010 21:50:49 GMT",
 "Cache-Control: max-age=86400",         "Date: Thu, 16 Sep 2010 21:50:49
 GMT",         "Server: lighttpd/1.5.0",     },     len = 0,     store = {
 },   }, },
 Sep 16 21:50:49 my-host varnishd[3214]: child (4572) Started
 Sep 16 18:50:49 my-host kernel:varnishd[4578]: segfault at
 000000004023d1a8 rip 0000000000423bf3 rsp 000000004023d1b0 error 6
 Sep 16 21:50:49 my-host varnishd[3214]: Pushing vcls failed: CLI
 communication error (hdr)
 Sep 16 21:50:49 my-host varnishd[3214]: Child (4572) died signal=11
 Sep 16 21:50:49 my-host varnishd[3214]: Child (-1) said
 Sep 16 21:50:49 my-host varnishd[3214]: Child (-1) said Child starts
 Sep 16 21:53:00 my-host varnishd[3214]: Manager got SIGINT'''

 Follow too, my start daemon line:
 '''
 /usr/sbin/varnishd -P /var/run/varnish.pid -T localhost:81 -i uolproxy -f
 /etc/varnish/uolproxy.vcl -u varnish -h classic,500009 -a :80 -p
 thread_pools 8 -p thread_pool_min 100 -p thread_pool_max 16288 -p
 between_bytes_timeout 50s -p connect_timeout 50s -p first_byte_timeout 25s
 -p lru_interval 60 -p listen_depth 8192 -p sess_workspace 524288 -p
 shm_workspace 262144 -p ping_interval 3 -p sess_timeout 10 -p send_timeout
 6000s -p http_headers 1024 -s malloc,28G'''

 I have found some users with same issue, but I can't get the solution.

 Can we help me?

-- 
Ticket URL: <http://www.varnish-cache.org/trac/ticket/779>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list