[Varnish] #953: Leak in the TransientStorage?
Varnish
varnish-bugs at varnish-cache.org
Wed Aug 24 09:24:37 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: |
----------------------+-----------------------------------------------------
Comment(by Tollef Fog Heen <tfheen@…>):
(In [5626096010669ede48b9dd4241651e0655c8e797]) 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:8>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list