[jboss-user] [JBoss Remoting] - Detection failure delay for JMS bisocket connection

Ron Sigal do-not-reply at jboss.com
Sun Apr 4 22:17:01 EDT 2010


Ron Sigal [http://community.jboss.org/people/ron.sigal%40jboss.com] replied to the discussion

"Detection failure delay for JMS bisocket connection"

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

--------------------------------------------------------------
Hi Amar,

Remoting detects an apparent network problem by sending pings from the client to the server and waiting for a reply.  If the reply doesn't arrive within the configured time frame, Remoting informs JBossMessaging.  The relevant configuration parameters are


> +               <attribute name="validatorPingPeriod" isParam="true">60000</attribute>
>                <attribute name="validatorPingTimeout" isParam="true">30000</attribute>+
> 

"validatorPingPeriod" determines how often the ping is sent, and "validatorPingTimeout" determines the window within which the response must arrive.  So the ping could get sent anywhere from 0 to 60 seconds after the plug is pulled, and the problem detected anywhere from 30 to 90 seconds after the plug is pulled.  So, I can explain why the problem detection could take up to 90 seconds.  I can't explain how it could happen within 5 seconds, unless some other problem had prevented the server from sending a response to a ping that had already been sent, say 25 seconds before you pulled the plug.  Just a stab in the dark.

-Ron

--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100404/a2129abf/attachment.html 


More information about the jboss-user mailing list