Resolution: Description: =========== We have configured a space to use the LRU eviction policy but the tuples are not being evicted.
Environment: =========== ActiveSpaces 2.0.* ,ActiveSpaces 2.1.* All operating systems
Resolution: =========== If space capacity is 1 million and if you're running with a total of 4 seeders, eviction starts once it reaches 4 million. LRU eviction policy always depends on space (capacity * Number of SEEDERS).
The following details how eviction_policy setup works.
eviction_policy Optional. If a put operation on a space would cause a seeder to exceed the space's capacity attribute, then the value of this attribute will dictate the result of this operation: if the value is 'none' (in quotes) then there will be no eviction and the operation will fail because the seeder is already at capacity. If the value is 'lru' (in quotes) then the seeder will evict another entry from the space using the 'least recently used' eviction algorithm. The default value is 'none' (no eviction).