[Varnish] #953: Leak in the TransientStorage?

Varnish varnish-bugs at varnish-cache.org
Sat Jul 2 17:24:52 CEST 2011


#953: Leak in the TransientStorage?
--------------------+-------------------------------------------------------
 Reporter:  elurin  |        Type:  defect
   Status:  new     |    Priority:  normal
Milestone:          |   Component:  build 
  Version:  3.0.0   |    Severity:  normal
 Keywords:          |  
--------------------+-------------------------------------------------------
 I have some billions objects on then storage and cache server with
 varnish.
 In 3.0 memory has to end. I set malloc storage to 100M (for tests) and saw
 as TransientStorage grow to 48G (my server's memory size)

 {{{
 SMA.s0.nreq               163557       323.88 Allocator requests
 SMA.s0.nobj                14218          .   Outstanding allocations
 SMA.s0.nbytes          104857305          .   Outstanding bytes
 SMA.s0.balloc          114128697          .   Bytes allocated
 SMA.s0.bfree             9271392          .   Bytes free
 SMA.Transient.nreq        302596       599.20 Allocator requests
 SMA.Transient.nobj        278306          .   Outstanding allocations
 SMA.Transient.nbytes  2051140026          .   Outstanding bytes
 SMA.Transient.balloc  2063401785          .   Bytes allocated
 SMA.Transient.bfree     12261759          .   Bytes free
 }}}
 some minutes later

 {{{
 SMA.s0.nreq               176486       322.05 Allocator requests
 SMA.s0.nobj                14218          .   Outstanding allocations
 SMA.s0.nbytes          104857305          .   Outstanding bytes
 SMA.s0.balloc          114128697          .   Bytes allocated
 SMA.s0.bfree             9271392          .   Bytes free
 SMA.Transient.nreq        329916       602.04 Allocator requests
 SMA.Transient.nobj        302766          .   Outstanding allocations
 SMA.Transient.nbytes  2234767584          .   Outstanding bytes
 SMA.Transient.balloc  2248472213          .   Bytes allocated
 SMA.Transient.bfree     13704629          .   Bytes free

 }}}
 May i control TransientStorage size?
 I'm turn off http_gzip_support, but it has no effect on the problem.
 Critbit hash type

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




More information about the varnish-bugs mailing list