[Varnish] #880: Error when pushing 5G objects through Varnish

Varnish varnish-bugs at varnish-cache.org
Mon Mar 21 13:41:54 CET 2011


#880: Error when pushing 5G objects through Varnish
--------------------+-------------------------------------------------------
 Reporter:  perbu   |       Owner:       
     Type:  defect  |      Status:  new  
 Priority:  normal  |   Milestone:       
Component:  build   |     Version:  trunk
 Severity:  normal  |    Keywords:       
--------------------+-------------------------------------------------------
 Made a file with a huge (5G) hole in it. Nginx serves it, tried to get
 varnish to cache it. "curl -o /dev/null" as a client.

 Running trunk as of now:
 {{{
 ./varnishd -a 0.0.0.0:8080 -b localhost:80 -d -s malloc,7G -T
 localhost:2001
 }}}
 Crashes like this:
 {{{
 Assert error in stv_alloc(), stevedore.c line 145:
   Condition((st) != NULL) not true.
 thread = (cache-worker)
 ident = Linux,2.6.35-25-generic,x86_64,-smalloc,-smalloc,-hcritbit,epoll
 Backtrace:
   0x42b788: pan_ic+b8
   0x4439f5: STV_alloc+f5
   0x4215fd: FetchStorage+5d
   0x4216f4: vfp_nop_bytes+64
   0x420e1b: FetchBody+94b
   0x414db2: cnt_fetch+702
   0x4164a5: CNT_Session+345
   0x42cf48: wrk_do_cnt_sess+b8
   0x42d3c9: wrk_thread_real+409
   0x7f110907b971: _end+7f1108a056d9
 sp = 0x7f10ffc08008 {
   fd = 10, id = 10, xid = 1036246089,
   client = 127.0.0.1 53191,
   step = STP_FETCH,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esi_level = 0
   ws = 0x7f10ffc08080 {
     id = "sess",
     {s,f,r,e} = {0x7f10ffc08cf0,+240,(nil),+65536},
   },
   http[req] = {
     ws = 0x7f10ffc08080[sess]
       "GET",
       "/5G-file",
       "HTTP/1.1",
       "User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0
 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18",
       "Host: localhost:8080",
       "Accept: */*",
       "X-Forwarded-For: 127.0.0.1",
   },
   worker = 0x7f10f9feeb80 {
     ws = 0x7f10f9feed10 {
       id = "wrk",
       {s,f,r,e} = {0x7f10f9fdcb10,+272,(nil),+65536},
     },
     http[bereq] = {
       ws = 0x7f10f9feed10[wrk]
         "GET",
         "/5G-file",
         "HTTP/1.1",
         "User-Agent: curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0
 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18",
         "Host: localhost:8080",
         "Accept: */*",

         "X-Forwarded-For: 127.0.0.1",
         "X-Varnish: 1036246089",
         "Accept-Encoding: gzip",
     },
     http[beresp] = {
       ws = 0x7f10f9feed10[wrk]
         "HTTP/1.1",
         "200",
         "OK",
         "Server: nginx/0.7.67",
         "Date: Mon, 21 Mar 2011 12:39:41 GMT",
         "Content-Type: text/plain",
         "Content-Length: 5242880000",
         "Last-Modified: Mon, 21 Mar 2011 12:23:12 GMT",
         "Connection: keep-alive",
         "Accept-Ranges: bytes",
     },
     },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
   obj = 0x7f10ffa18300 {
     xid = 1036246089,
     ws = 0x7f10ffa18318 {
       id = "obj",
       {s,f,r,e} = {0x7f10ffa18508,+168,(nil),+224},
     },
     http[obj] = {
       ws = 0x7f10ffa18318[obj]
         "HTTP/1.1",
         "OK",
         "Server: nginx/0.7.67",
         "Date: Mon, 21 Mar 2011 12:39:41 GMT",
         "Content-Type: text/plain",
         "Last-Modified: Mon, 21 Mar 2011 12:23:12 GMT",
     },
     len = 3221094400,
     store = {
       947912704 {
         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
         00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
         [947912640 more]
       },
 }}}

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




More information about the varnish-bugs mailing list