Under some heavy load I get the following exception from the LRUAlgorithm..


  | 2005-03-30 13:36:12,990 ERROR [org.jboss.cache.eviction.EvictionTimerTask] 
run(): error processing eviction with exception: 
org.jboss.cache.eviction.EvictionException: LRUAlgorithm.removeFromQueue(): 
internal error. Can't find fqn in NodeMap. fqn: /UserContext/user1 will reset 
the eviction queue list.
  | 
  | 2005-03-30 13:36:12,990 INFO  [org.jboss.cache.eviction.Region] 
reseteEvictionQueues(): node queue size: 439 region name: /_default_/
  | 2005-03-30 13:36:12,990 ERROR [STDERR] 
org.jboss.cache.eviction.EvictionException: LRUAlgorithm.removeFromQueue(): 
internal error. Can't find fqn in nodeMap. fqn: /UserContext/user1
  | 
  | 2005-03-30 13:36:12,990 ERROR [STDERR]      at 
org.jboss.cache.eviction.LRUAlgorithm.removeFromQueue(LRUAlgorithm.java:216)
  | 
  | 2005-03-30 13:36:12,990 ERROR [STDERR]      at 
org.jboss.cache.eviction.LRUAlgorithm.processRemovedNodes(LRUAlgorithm.java:108)
  | 
  | 2005-03-30 13:36:12,990 ERROR [STDERR]      at 
org.jboss.cache.eviction.LRUAlgorithm.processQueues(LRUAlgorithm.java:81)
  | 
  | 2005-03-30 13:36:12,990 ERROR [STDERR]      at 
org.jboss.cache.eviction.LRUAlgorithm.process(LRUAlgorithm.java:51)
  | 
  | 2005-03-30 13:36:12,990 ERROR [STDERR]      at 
org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:35)
  | 
  | 2005-03-30 13:36:12,990 ERROR [STDERR]      at 
java.util.TimerThread.mainLoop(Timer.java:432)
  | 
  | 2005-03-30 13:36:12,990 ERROR [STDERR]      at 
java.util.TimerThread.run(Timer.java:382)


I saw that in the LRUAlgorithm itself, you catch and ignore this exception if 
it's called from evict().  If this exception happens from a call to 
processRemovedNodes, is is bubbled up to the exictionTimerTask and the nodeList 
is reset, which makes nothing timout ever.

Should this exception be ignored from processRemovedNodes?  If this exception 
should not be ignored, I can work on getting a better unit test to show this.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872096


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to