Reduce elements in memory in org.sakaiproject.user.api.AuthenticationManager

Description

The org.sakaiproject.user.api.AuthenticationManager has a 10k maxElements in memory. as it is extremely unlikely that any production deployments experiences 10k distinct users logging in 120s This should be reduced to a more reasonable figure.

Environment

None

Test Plan

None

Activity

Show:

Hudson CI Server March 16, 2011 at 11:36 PM

Integrated in kernel-trunk #281 (See http://builds.sakaiproject.org:8080/job/kernel-trunk/281/)
reduce elements in memory to 250

David Horwitz February 15, 2011 at 6:24 AM

Even at our time of higest turn over (start of term) and an extended ttl 100 items is more than sufficient for the UCT deployment:

[ name = org.sakaiproject.user.api.AuthenticationManager status = STATUS_ALIVE eternal = false overflowToDisk = true maxElementsInMemory = 100 maxElementsOnDisk = 10000000 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 300 timeToIdleSeconds = 120 diskPersistent = false diskExpiryThreadIntervalSeconds = 120 cacheEventListeners: hitCount = 55817 memoryStoreHitCount = 55817 diskStoreHitCount = 0 missCountNotFound = 17059 missCountExpired = 866 ]

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created February 7, 2011 at 3:48 AM
Updated April 25, 2018 at 3:35 PM
Resolved March 16, 2011 at 11:10 PM