[Varnish] #1100: Assert error in stv_alloc(), stevedore.c line 144

Varnish varnish-bugs at varnish-cache.org
Sat Mar 3 22:10:55 CET 2012


#1100: Assert error in stv_alloc(), stevedore.c line 144
-------------------+--------------------------------------------------------
 Reporter:  Roze   |        Type:  defect  
   Status:  new    |    Priority:  normal  
Milestone:         |   Component:  varnishd
  Version:  trunk  |    Severity:  normal  
 Keywords:         |  
-------------------+--------------------------------------------------------

Comment(by Roze):

 I updated to 2012-02-28 trunk snapshot and now I get different assert
 (also now 'panic.show' worked).
 Could it be that just the CLI timeout is too low for the 'free space'
 operations?


 {{{
 Mar  3 21:46:10 is50 varnishd[18147]: Child (18148) not responding to CLI,
 killing it.
 Mar  3 21:46:10 is50 varnishd[18147]: Child (18148) not responding to CLI,
 killing it.
 Mar  3 21:46:10 is50 varnishd[18147]: Child (18148) died signal=6
 Mar  3 21:46:10 is50 varnishd[18147]: Child (18148) Panic message: Assert
 error in vfp_nop_bytes(), cache/cache_fetch.c line 115:#012
 Condition((bo->fetch_failed) == 0) not true.#012errno = 104 (Connection
 reset by peer)#012thread = (cache-worker)#012ident =
 Linux,3.2.0-rc2-2-default,x86_64,-sfile,-sfile,-smalloc,-Mar  3 21:46:11
 is50 varnishd[18147]: Child cleanup complete
 Mar  3 21:46:11 is50 varnishd[18147]: child (27817) Started
 Mar  3 21:46:11 is50 varnishd[18147]: Child (27817) said Child starts
 Mar  3 21:46:11 is50 varnishd[18147]: Child (27817) said SMF.s0 mmap'ed
 107374182400 bytes of 107374182400
 Mar  3 21:46:11 is50 varnishd[18147]: Child (27817) said SMF.s1 mmap'ed
 107374182400 bytes of 107374182400
 }}}



 {{{
 200
 -----------------------------
 Varnish Cache CLI 1.0
 -----------------------------
 Linux,3.2.0-rc2-2-default,x86_64,-sfile,-sfile,-smalloc,-hcritbit

 Type 'help' for command list.
 Type 'quit' to close CLI session.

 panic.show
 200
 Last panic at: Sat, 03 Mar 2012 19:46:10 GMT
 Assert error in vfp_nop_bytes(), cache/cache_fetch.c line 115:
   Condition((bo->fetch_failed) == 0) not true.
 errno = 104 (Connection reset by peer)
 thread = (cache-worker)
 ident =
 Linux,3.2.0-rc2-2-default,x86_64,-sfile,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x430ea8: pan_ic+d8
   0x424755: vfp_nop_bytes+c5
   0x425716: FetchBody+8e6
   0x4169f4: cnt_fetchbody+104
   0x418eb5: CNT_Session+415
   0x434879: ses_pool_task+f9
   0x43324f: Pool_Work_Thread+10f
   0x43f589: wrk_thread_real+b9
   0x7f4800ca6a4f: _end+7f4800622297
   0x7f4800a1091d: _end+7f480038c165
 sp = 0x7f15078d9a20 {
   fd = 373, id = 373, xid = 235842465,
   client = 10.0.10.1 3657,
   step = STP_FETCHBODY,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esi_level = 0
   busyobj = 0x7f1503fb0040 {
     ws = 0x7f1503fb0080 {
       id = "bo",
       {s,f,r,e} = {0x7f1503fb1a90,+10160,(nil),+58768},
     },
     is_gunzip
     bodystatus = 4,
     },
     http[bereq] = {
       ws = 0x7f1503fb0080[bo]
         "GET",
         "/profile_gal/897/440/v2/l_897440.jpg",
         "HTTP/1.1",
         "Host: i0.imgdomain.com",
         "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11
 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11",
         "Accept: */*",
         "Accept-Language: lv-LV,lv;q=0.8,en-US;q=0.6,en;q=0.4",
         "Accept-Charset: windows-1257,utf-8;q=0.7,*;q=0.3",
         "X-Varnish: 235842465",
         "Accept-Encoding: gzip",
     },
     http[beresp] = {
       ws = 0x7f1503fb0080[bo]
         "HTTP/1.1",
         "200",
         "OK",
         "Date: Sat, 03 Mar 2012 19:46:06 GMT",
         "Content-Type: image/jpeg",
         "Content-Length: 127992",
         "Last-Modified: Sat, 08 Oct 2011 22:30:33 GMT",
         "Connection: keep-alive",
         "Expires: Thu, 31 Dec 2037 23:55:55 GMT",
         "Cache-Control: max-age=315360000",
         "Accept-Ranges: bytes",
     },
   ws = 0x7f1506002150 {
     id = "req",
     {s,f,r,e} = {0x7f1506003728,+520,(nil),+59640},
   },
   http[req] = {
     ws = 0x7f1506002150[req]
       "GET",
       "/profile_gal/897/440/v2/l_897440.jpg",
       "HTTP/1.1",
       "Host: i0.imgdomain.com",
       "Connection: keep-alive",
       "User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML,
 like Gecko) Chrome/17.0.963.56 Safari/535.11",
       "Accept: */*",
       "Accept-Language: lv-LV,lv;q=0.8,en-US;q=0.6,en;q=0.4",
       "Accept-Charset: windows-1257,utf-8;q=0.7,*;q=0.3",
   },
   worker = 0x7f15e4be6c90 {
     ws = 0x7f15e4be6e50 {
       id = "wrk",
       {s,f,r,e} = {0x7f15e4be6480,0x7f15e4be6480,(nil),+2048},
     },
   },
     vcl = {
       srcname = {
         "input",
         "Default",
       },
     },
   obj = 0x7f2d37652000 {
     xid = 235842465,
     ws = 0x7f2d37652018 {
       id = "obj",
       {s,f,r,e} = {0x7f2d376521e8,+224,(nil),+280},
     },
     http[obj] = {
       ws = 0x7f2d37652018[obj]
         "HTTP/1.1",
         "OK",
         "Date: Sat, 03 Mar 2012 19:46:06 GMT",
         "Content-Type: image/jpeg",
         "Last-Modified: Sat, 08 Oct 2011 22:30:33 GMT",
         "Expires: Thu, 31 Dec 2037 23:55:55 GMT",
         "Cache-Control: max-age=315360000",
     },
     len = 0,
     store = {
     },
   },
 },

 }}}

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1100#comment:3>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list