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

Varnish varnish-bugs at varnish-cache.org
Sat Feb 25 19:47:17 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:         |  
-------------------+--------------------------------------------------------
 After filling up the file storage varnish child gets killed and restarted
 (with empty cache).


 Varnish is started with:

 {{{
 ./varnishd -f etc/varnish/default.vcl -T 127.0.0.1:8000 -s
 file,/mnt/ssd1/cache,100G -s file,/mnt/ssd2/cache,100G -h critbit -p
 connect_timeout=600 -p thread_pools=8 -p thread_pool_min=100 -p
 thread_pool_max=5000 -thread_pool_add_delay=2 -p cli_timeout=50 -p
 session_linger=120 -p lru_interval=20
 }}}


 Log:

 {{{
 Feb 25 15:55:44 is50 varnishd[26994]: Child (26995) not responding to CLI,
 killing it.
 Feb 25 15:55:44 is50 varnishd[26994]: Child (26995) died signal=6

 Feb 25 15:55:44 is50 varnishd[26994]: Child (26995) Panic message: Assert
 error in stv_alloc(), stevedore.c line 144:
   Condition((st) != NULL) not true.
 thread = (cache-worker)
 ident =
 Linux,3.2.0-rc2-2-default,x86_64,-sfile,-sfile,-smalloc,-hcritbit,epoll
 Backtrace:
   0x4284a8: pan_ic+b8
   0x43f9fd: STV_alloc+17d
   0x41e057: vfp_nop_begin+97
   0x41ea11: FetchBody+291
   0x4164fd: CNT_Session+1c8d
   0x429c28: wrk_do_cnt_sess+b8
   0x42a059: wrk_thread_real+379
   0x7f46ce5f2a4f: _end+7f46cdf81937
   0x7f46ce35c91d: _end+7f46cdceb805
 sp = 0x7f1275f46008 {
   fd = 2043, id = 2043, xid = 2002093578,
   client = 10.10.0.1 2077,
   step = STP_FETCH,
   handling = deliver,
   err_code = 200, err_reason = (null),
   restarts = 0, esi_level = 0
   ws = 0x7f1275f46080 {
     id = "sess",
     {s,f,r,e} = {0x7f1275f46cd8,+592,(nil),+65536},
   },
   http[req] = {
     ws = 0x7f1275f46080[sess]
       "GET",
       "/a31023120084f800da6fdb8642ba0a8b/975/160/v1/l_230975160.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: en-US,en;q=0.8",
       "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3",
   },
   worker = 0x7f11ec8febb0 {
     ws = 0x7f11ec8fed38 {
       id = "wrk",
       {s,f,r,e} = {0x7f11ec8ecb40,+2920,(nil),+65536},
     },
     http[bereq] = {
       ws = 0x7f11ec8fed38[wrk]
         "GET",
         "/a31023120084f800da6fdb8642ba0a8b/975/160/v1/l_230975160.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: */

 Feb 25 15:55:44 is50 varnishd[26994]: Child cleanup complete
 Feb 25 15:55:44 is50 varnishd[26994]: child (16686) Started
 Feb 25 15:55:44 is50 varnishd[26994]: Child (16686) said
 Feb 25 15:55:44 is50 varnishd[26994]: Child (16686) said Child starts
 Feb 25 15:55:44 is50 varnishd[26994]: Child (16686) said SMF.s0 mmap'ed
 107374182400 bytes of 107374182400
 Feb 25 15:55:44 is50 varnishd[26994]: Child (16686) said SMF.s1 mmap'ed
 107374182400 bytes of 107374182400

 }}}

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




More information about the varnish-bugs mailing list