6 Replies Latest reply on Sep 17, 2013 11:17 AM by Sean Malone

    Evictions with low number of entries

    Sean Malone Newbie



      I have been seeing evictions occurring in caches where the  number of entries in the cache are extremely low for the maxEntries size. Below is the statistics for one of those caches:


      Max Entries: 1000

      Current size: 40

      Number of possible entries: 85 (There are only 85 distinct keys possible)

      Number of Hits: 30,579,978

      Number of Misses: 1,736,737

      Number of Evictions: 1,713,019

      For this cache I have the following configuration set:

      Max lifespan: No limit

      Max idle time: No limit

      Expiration: No limit

      Eviction Strategy: LIRS

      I am not sure why this is happening. I know that evictions occur based on the segment level, but the fact that only 40 out of 1000 possible entries are being cashed at a time seems a bit odd to me.

      Please let me know what other information you might need from me in order to answer my question. Any help would be greatly appreciated.