jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kittu s <kittuin_2...@yahoo.co.uk>
Subject Error from LRUMemoryCache
Date Tue, 28 Sep 2004 16:41:05 GMT
Hi,
We have been using JCS with Torque. It has been working fine. Recently we did some load tests
on our
system the results were quite ok. But there were some ERROR statements in the logs  
04-09-28 14:47:25,859 MEST DEBUG [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:659
- verifycache[com_siemens_icm_sm_storage_logdata_SmSession]: mapContains 19 elements, linked
list contains 20 elements
04-09-28 14:47:25,860 MEST DEBUG [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:661
- verifycache: checking linked list by key 
04-09-28 14:47:25,861 MEST ERROR [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:667
- verifycache[com_siemens_icm_sm_storage_logdata_SmSession]: map does not contain key : S8fa5d980f34c4026884012DIGSTRING!:S10.2.160.146:554:D1096355926000:N6190:
04-09-28 14:47:25,862 MEST ERROR [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:668
- li.hashcode=936662870
04-09-28 14:47:25,863 MEST ERROR [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:669
- key class=class org.apache.torque.om.ComboKey
04-09-28 14:47:25,864 MEST ERROR [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:670
- key hashcode=936662870
04-09-28 14:47:25,865 MEST ERROR [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:671
- key toString=S8fa5d980f34c4026884012DIGSTRING!:S10.2.160.146:554:D1096355926000:N6190:
04-09-28 14:47:25,888 MEST ERROR [     ER-2] gine.memory.lru.LRUMemoryCache.verifyCache:695
- verifycache[com_siemens_icm_sm_storage_logdata_SmSession]: map does not contain value :
org.apache.jcs.engine.memory.lru.MemoryElementDescriptor@4824fc
04-09-28 14:47:25,936 MEST DEBUG [     ER-8] gine.memory.lru.LRUMemoryCache.verifyCache:661
- verifycache: checking linked list by key 
04-09-28 14:47:25,938 MEST ERROR [     ER-8] gine.memory.lru.LRUMemoryCache.verifyCache:667
- verifycache[com_siemens_icm_sm_storage_logdata_SmSession]: map does not contain key : S8fa5d980f34c4026884012DIGSTRING!:S10.2.160.146:554:D1096355926000:N6190:
04-09-28 14:47:25,939 MEST ERROR [     ER-8] gine.memory.lru.LRUMemoryCache.verifyCache:668
- li.hashcode=936662870
04-09-28 14:47:25,940 MEST ERROR [     ER-8] gine.memory.lru.LRUMemoryCache.verifyCache:669
- key class=class org.apache.torque.om.ComboKey
04-09-28 14:47:25,941 MEST ERROR [     ER-8] gine.memory.lru.LRUMemoryCache.verifyCache:670
- key hashcode=936662870
04-09-28 14:47:25,943 MEST ERROR [     ER-8] gine.memory.lru.LRUMemoryCache.verifyCache:671
- key toString=S8fa5d980f34c4026884012DIGSTRING!:S10.2.160.146:554:D1096355926000:N6190:
I removed couple of log statements which I think are not necessary.

Can anybody tell the reason behind the ERROR log statements. Is there any problem in my application
or it is behaving correctly?
below is my cache.ccf file, Could someone tell the meaning of the MaxMemoryIdleTimeSeconds,MaxLifeSeconds,IdleTime
parameters.

##############################################################
################## DEFAULT CACHE REGION  #####################
# sets the default aux value for any non configured caches
jcs.default=DC
jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=1000
jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.default.cacheattributes.UseMemoryShrinker=true
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60
jcs.default.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
jcs.default.elementattributes.MaxLifeSeconds=7
jcs.default.elementattributes.IdleTime=1800
jcs.default.elementattributes.IsSpool=true
jcs.default.elementattributes.IsRemote=true
jcs.default.elementattributes.IsLateral=true
# SYSTEM CACHE
# should be defined for the storage of group attribute list
jcs.system.groupIdCache=DC
jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.system.groupIdCache.cacheattributes.MaxObjects=10000
jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.system.groupIdCache.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.system.groupIdCache.elementattributes.IsEternal=true
jcs.system.groupIdCache.elementattributes.MaxLifeSeconds=3600
jcs.system.groupIdCache.elementattributes.IdleTime=1800
jcs.system.groupIdCache.elementattributes.IsSpool=true
jcs.system.groupIdCache.elementattributes.IsRemote=true
jcs.system.groupIdCache.elementattributes.IsLateral=true

##############################################################
################## CACHE REGIONS AVAILABLE ###################
# Regions preconfigured for caching
#Streaming mediator
#SmSession
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession=DC
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.cacheattributes.MaxObjects=10000
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.cacheattributes.UseMemoryShrinker=true
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.cacheattributes.ShrinkerIntervalSeconds=3
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.elementattributes.IsEternal=false
jcs.region.com_siemens_icm_sm_storage_logdata_SmSession.elementattributes.MaxLifeSeconds=10
#AuthLog
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog=DC
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.cacheattributes.MaxObjects=10000
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.cacheattributes.UseMemoryShrinker=true
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.cacheattributes.ShrinkerIntervalSeconds=3
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.elementattributes.IsEternal=false
jcs.region.com_siemens_icm_sm_storage_logdata_SmAuthLog.elementattributes.MaxLifeSeconds=10
#AccessLog
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog=DC
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.cacheattributes.MaxObjects=10000
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.cacheattributes.UseMemoryShrinker=true
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.cacheattributes.ShrinkerIntervalSeconds=3
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.elementattributes.IsEternal=false
jcs.region.com_siemens_icm_sm_storage_logdata_SmAccessLog.elementattributes.MaxLifeSeconds=10
#RtspLog
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog=DC
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.cacheattributes.MaxObjects=10000
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru.LRUMemoryCache
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.cacheattributes.UseMemoryShrinker=true
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.cacheattributes.ShrinkerIntervalSeconds=3
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.elementattributes=org.apache.jcs.engine.ElementAttributes
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.elementattributes.IsEternal=false
jcs.region.com_siemens_icm_sm_storage_logdata_SmRtspLog.elementattributes.MaxLifeSeconds=10

##############################################################
################## AUXILIARY CACHES AVAILABLE ################
# Primary Disk Cache-- faster than the rest because of memory key storage
jcs.auxiliary.DC=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=org.apache.jcs.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=.
# need to make put or invalidate an option
# just a remove lock to add
# jcs.auxiliary.RC=org.apache.jcs.auxiliary.remote.RemoteCacheFactory
# jcs.auxiliary.RC.attributes=org.apache.jcs.auxiliary.remote.RemoteCacheAttributes
# jcs.auxiliary.RC.attributes.RemoteHost=localhost
# jcs.auxiliary.RC.attributes.RemotePort=1102
# #jcs.auxiliary.RC.attributes.LocalPort=1103
# jcs.auxiliary.RC.attributes.RemoveUponRemotePut=false
# #jcs.auxiliary.RC.attributes.RemoteServiceName=RemoteCache
 
Regards,

		
---------------------------------
 ALL-NEW Yahoo! Messenger - all new features - even more fun!  
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message