Vignesh Prabhu [http://community.jboss.org/people/vigneshprabhu] created the 
discussion

"What is the purpose of event queue for data eviction ?"

To view the discussion, visit: http://community.jboss.org/message/626837#626837

--------------------------------------------------------------
Hi,

We use the following jboss cache eviction configuration where in event queue 
size is 200000 and the wake up interval is 5 seconds for the eviction cleanup 
timer task. We use LRU as our cleanup policy. The cache region where data 
recides is /aaa/bbbb and max nodes there is 25,000

What we are trying to achieve is keep adding nodes and data below /aaa/bbbb and 
we want to keep a max of 25000 newest elements in cache i.e. LRU nodes need to 
be discarded.

We add and remove data from multiple threads and we keep getting spammed with 
this warning message 

2011-09-11 
18:21:08,446|WARN|pool-flow.seda.servicemix-cxf-se-thread-541|RegionImpl|org.jboss.cache.RegionImpl
 245|putNodeEvent(): eviction node event queue size is at 98% threshold value 
of capacity: 200000 Region: /aaa/bbbb You will need to reduce the 
wakeUpIntervalSeconds parameter.


Since cleanup interval is 5 seconds and we are not expecting more then 500 
elements being inserted per second i.e. 2500 elements need to be discarded 
every 5 secs once the limit of 25000 elements is reached. 

What is the purpose of event queue for data eviction ? Any help in this regard 
would be helpful to us.

Thanks,
Vignesh
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/626837#626837]

Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to