RE: [coldbox:8617] Re: CacheBox configuration question on ObjectDefaultTimeout

What’s your reap interval set to? If I recall, when the cache is full, one or more item(s) are evicted from the cache (based on your eviction count setting) but the evicted items stay in the cache until the next reap occurs at which time they are physically removed. I would guess that the 4 items left in the cache are evicted but not removed, but I’m not sure if that’s the case since their status shows as “alive”.

Thanks!

~Brad

Brad,

Here's how it's set up:

<Properties
  objectDefaultTimeout="5"
  objectDefaultLastAccessTimeout="2"
  useLastAccessTimeouts="true"
  reapFrequency="2"
  freeMemoryPercentageThreshold="0"
  maxObjects="3"
  evictionPolicy="LRU"
  evictCount="1"
  objectStore="ConcurrentStore"
  coldboxEnabled="false"
    />

However, it doesn't make any sense to me on why if I cache 4 items initial w/a maxObjects to 3 that none would remain in cache. It would seem like some of the items would remain cached.

-Dan