Re: Understanding nukes the expiration thread

2009-02-06 Thread Poul-Henning Kamp
In message 53c652a09719c54da24741d0157cb26902bd0...@tfprdexs1.tf1.groupetf1.fr , BUSTARRET, Jean-francois writes: If I understand correctly how varnish works : - the expiration thread (exp_timer) only checks the root of the binheap (= the oldest object currently in cache) Not the oldest object,

Understanding nukes the expiration thread

2009-02-05 Thread BUSTARRET, Jean-francois
If I understand correctly how varnish works : - the expiration thread (exp_timer) only checks the root of the binheap (= the oldest object currently in cache) - a worker needing to free some space in the cache will nuke (EXP_NukeOne) the least recently used object (not taking into account