[Building Sakai] UserDirectoryService memory readout and cache setting questions

Gross,Christopher ufchrisg at ufl.edu
Wed Aug 25 07:38:30 PDT 2010


Hello!

When looking at the memory tool we have the following showing for the UserDirectoryService:

org.sakaiproject.user.api.UserDirectoryService: count:15454 hits:548289 misses:35331 hit%:93
org.sakaiproject.user.api.UserDirectoryService.callCache: count:1349 hits:1424509 misses:156192 hit%:90

I can gather for the most part what I think that means but I was hoping I could get someone who actually knows to tell me what each of those values are because some of it doesn't necessarily make sense - such as why the callCache count is so low compared to the line above when the hits value is so much larger.

Also, on the same screen there is a section below that I believe is what the memory/cache settings are set to for the various memory/cache objects, however I cannot find where these are being set in the source.  I am looking for the UserDirectoryService memory/cache settings in particular.

[ name = org.sakaiproject.user.api.UserDirectoryService status = STATUS_ALIVE eternal = false overflowToDisk = false maxElementsInMemory = 100000 maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 7200 timeToIdleSeconds = 7200 diskPersistent = false diskExpiryThreadIntervalSeconds = 120 cacheEventListeners: hitCount = 548289 memoryStoreHitCount = 548289 diskStoreHitCount = 0 missCountNotFound = 31318 missCountExpired = 4013 ]
[ name = org.sakaiproject.user.api.UserDirectoryService.callCache status = STATUS_ALIVE eternal = false overflowToDisk = false maxElementsInMemory = 10000 maxElementsOnDisk = 0 memoryStoreEvictionPolicy = LRU timeToLiveSeconds = 300 timeToIdleSeconds = 300 diskPersistent = false diskExpiryThreadIntervalSeconds = 120 cacheEventListeners: hitCount = 1424509 memoryStoreHitCount = 1424509 diskStoreHitCount = 0 missCountNotFound = 129340 missCountExpired = 26852 ]

Does anyone know where these values are being set or if those are simply the defaults what needs to be placed in a .properties file to override them?

Thanks!

--
Christopher Gross
University of Florida
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100825/bde445ed/attachment.html 


More information about the sakai-dev mailing list