[jboss-user] [Remoting] - JBREM-1005: Prevent build up of cancelled TimerTasks in biso

ron.sigal@jboss.com do-not-reply at jboss.com
Fri Jul 4 16:59:36 EDT 2008


>From JIRA issue JBREM-1005:

"Andre Parodi" wrote : 
  | I am having trouble with my heap filling up with these ControlMonitorTimerTasks. I have set my pingFrequency to 300 000 ( 5 min). Is there any reason that the default is set so unreasonably high? Should I be worried about adverse effects of having the pingFrequency set to 5 mins?
  | 
  | This would be a tactical fix until SP9 is available.
  | 

Hi Andre,

My suggestion of 300000 ms was just a guess.  This issue arose in the context of JBossMessaging, which sets pingFrequency to a huge number to disable pinging.  They did that because the pinging facility was causing problems for them on busy machines/networks.  I was just suggesting setting the value to something small enough that the TimerTasks get cleaned up but still large enough that pinging doesn't cause problems for JBossMessaging.

You should feel free to set pingFrequency to any value that works for you.  It should be large enough to avoid a lot of "false positives", i.e., apparent failures due to late arrivals of PINGs.

Also, I've attached a 2.2.2.SP9 preview of jboss-remoting.jar on JBREM-1005 (http://jira.jboss.com/jira/browse/JBREM-1005).

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

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



More information about the jboss-user mailing list