Hi

I have the following configuration as part of JBossCache.xml,


        <attribute name="LockAcquisitionTimeout">15000</attribute>
  |                     <attribute 
name="EvictionPolicyClass">org.jboss.cache.eviction.LRUPolicy</attribute>
  |                     <attribute name="EvictionPolicyConfig">
  |                     <config>
  |                     <attribute name="wakeUpIntervalSeconds">0</attribute>
  |                     <region name="/_default_">
  |                     <attribute name="maxNodes">5000000</attribute>
  |                     <attribute name="timeToLiveSeconds">0</attribute>
  |                     <attribute name="maxAgeSeconds">0</attribute>
  |                     </region>
  |                     <region name="/org/jboss/data">
  |                     <attribute name="maxNodes">5000000</attribute>
  |                     <attribute name="timeToLiveSeconds">0</attribute>
  |                     </region>
  |                     
  |                     <region name="/org/jboss/test/data">
  |             <attribute name="maxNodes">5000000</attribute>
  |             <attribute name="timeToLiveSeconds">0</attribute>
  |             </region>
  |             </config>
  |             </attribute>



as you can see , I have set tiem timToLiveSeconds to 0 for all regions. 
When I run my JBoss tests, that has multiple threads just doing get(FQN) calls, 
I get this ,

"Thread-39" id=50 idx=0xcc tid=3248 prio=5 alive, in native, blocked
    -- Blocked trying to get lock: java/lang/[EMAIL PROTECTED] lock]
    at _dl_sysinfo_int80+2(:0)@0x7127a2
    at ptWaitForEvent+76(:0)@0xb7eb2c5c
    at tsiWaitForSignalForever+58(:0)@0xb7ee11ba
    at tsiWaitForLockSignal+49(:0)@0xb7ee1321
    at RJNI_jrockit_vm_Threads_waitForUnblockSignal+24(:0)@0xb7ed4778
    at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
    at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1674)
    at jrockit/vm/Locks.lockFat(Locks.java:1775)[optimized]
    at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1311)[optimized]
    at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1258)[optimized]
    at 
EDU/oswego/cs/dl/util/concurrent/BoundedLinkedQueue.put(BoundedLinkedQueue.java:296)[inlined]
    at org/jboss/cache/eviction/Region.putNodeEvent(Region.java:141)[optimized]
    at 
org/jboss/cache/interceptors/EvictionInterceptor.doEventUpdatesOnRegionManager(EvictionInterceptor.java:149)[inlined]
    at 
org/jboss/cache/interceptors/EvictionInterceptor.updateNode(EvictionInterceptor.java:122)[inlined]
    at 
org/jboss/cache/interceptors/EvictionInterceptor.invoke(EvictionInterceptor.java:97)[optimized]
    at 
org/jboss/cache/interceptors/Interceptor.invoke(Interceptor.java:68)[inlined]
    at 
org/jboss/cache/interceptors/PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:206)[optimized]
    at 
org/jboss/cache/interceptors/Interceptor.invoke(Interceptor.java:68)[inlined]
    at 
org/jboss/cache/interceptors/UnlockInterceptor.invoke(UnlockInterceptor.java:32)[optimized]
    at 
org/jboss/cache/interceptors/Interceptor.invoke(Interceptor.java:68)[inlined]
    at 
org/jboss/cache/interceptors/TxInterceptor.handleNonTxMethod(TxInterceptor.java:379)[optimized]
    at 
org/jboss/cache/interceptors/TxInterceptor.invoke(TxInterceptor.java:174)[optimized]
    at 
org/jboss/cache/interceptors/Interceptor.invoke(Interceptor.java:68)[inlined]
    at 
org/jboss/cache/interceptors/CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:138)[optimized]




Why is eviction happening? How can I diable eviction, so update and put 
nodeEvent are not invoked at all. I am just doing invoking get on the Tree 
Cache.



Tx
Mayur

anonymous wrote : anonymous wrote : 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167445#4167445

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167445
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to