[Varnish] #958: Transient Storage memleak?

Varnish varnish-bugs at varnish-cache.org
Tue Jul 12 08:49:25 CEST 2011


#958: Transient Storage memleak?
---------------------+------------------------------------------------------
 Reporter:  fdy84    |        Type:  defect  
   Status:  new      |    Priority:  high    
Milestone:           |   Component:  varnishd
  Version:  3.0.0    |    Severity:  normal  
 Keywords:  memleak  |  
---------------------+------------------------------------------------------
 I set –s malloc,4G but varnish eat all my mem(12G), and use swap!
 In varnishstat , I saw SMA.s0.nbytes is 4G is right, but
 SMA.Transient.nbytes is almost 6G!
 What is SMA.Transient and why it can’t be free?
 And how can I control transient storage size?


 {{{
 SMA.s0.nreq              2343385        74.98 Allocator requests
 SMA.s0.nobj               353562          .   Outstanding allocations
 SMA.s0.nbytes         4294967257          .   Outstanding bytes
 SMA.s0.balloc        23949971661          .   Bytes allocated
 SMA.s0.bfree         19655004404          .   Bytes free
 SMA.Transient.nreq        600545        19.21 Allocator requests
 SMA.Transient.nobj        487027          .   Outstanding allocations
 SMA.Transient.nbytes  6709806097          .   Outstanding bytes
 SMA.Transient.balloc  9203517551          .   Bytes allocated
 SMA.Transient.bfree   2493711454          .   Bytes free
 }}}

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




More information about the varnish-bugs mailing list