[Varnish] #897: sess_mem "leak" on hyper-threaded cpu

Varnish varnish-bugs at varnish-cache.org
Fri Jul 22 09:16:16 CEST 2011

#897: sess_mem "leak" on hyper-threaded cpu
 Reporter:  askalski  |       Owner:  phk                                
     Type:  defect    |      Status:  new                                
 Priority:  normal    |   Milestone:                                     
Component:  varnishd  |     Version:  trunk                              
 Severity:  major     |    Keywords:  sess_mem leak n_sess race condition

Comment(by abienvenu):

 I run a website serving one million pages per day, and I noticed "N struct
 sess" grows steadily, day after day, when Varnish 2.1.5 runs on an
 hyperthreaded server. The memory leak was about 200MB per day.

 See this memory usage graph from cacti (I restarted Varnish on July 12th).


 From the previous patch of askalski, I made a patch for Varnish 2.1.5, and
 it works perfectly well.

 I would really like these patches to make their path through the official
 Varnish releases.

Ticket URL: <http://varnish-cache.org/trac/ticket/897#comment:5>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator

More information about the varnish-bugs mailing list