[Varnish] #953: Leak in the TransientStorage?

Varnish varnish-bugs at varnish-cache.org
Mon Aug 22 10:23:28 CEST 2011


#953: Leak in the TransientStorage?
----------------------+-----------------------------------------------------
 Reporter:  elurin    |        Owner:  phk   
     Type:  defect    |       Status:  closed
 Priority:  normal    |    Milestone:        
Component:  varnishd  |      Version:  3.0.0 
 Severity:  normal    |   Resolution:  fixed 
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by Poul-Henning Kamp <phk@…>):

  * status:  reopened => closed
  * resolution:  => fixed


Comment:

 (In [7ed5f2b1f5f10991c3a82c3c1da90b6b59ca2cc6]) The law of unconsidered
 consequences strikes again:

 When we pushed the object allocation into the stevedores for
 -spersistent, we did not add LRU eviction to that allocation
 path.

 Then we added the Transient storage as a fallback for objects
 we could not allocate, and they all went there.

 Change the way object allocation works as follows:

         If VCL set a stevedore hint and it is valid, we stick
         with it, and LRU that stevedore attempting to make space.

         If no valid hint is given, try all stevedores in turn,
         then LRU one of them to make space.

 Fixes   #953

-- 
Ticket URL: </ticket/953#comment:7>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list