[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1699) Server fails with message "Did not receive initial ping for connection"
Adrian Woodhead (JIRA)
jira-events at lists.jboss.org
Tue Aug 4 10:34:29 EDT 2009
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12478849#action_12478849 ]
Adrian Woodhead commented on JBMESSAGING-1699:
----------------------------------------------
Sure, currently we have *one* JBM server and around 20 clients. Each client is both a producer and a receiver on a single topic.
The jbm-jxm.xml contains the following elements related to failover:
<retry-interval>1000</retry-interval>
<retry-interval-multiplier>1.0</retry-interval-multiplier>
<reconnect-attempts>-1</reconnect-attempts>
<failover-on-server-shutdown>true</failover-on-server-shutdown>
<call-timeout>5000</call-timeout>
So from what I understood if this server goes down clients will keep trying to reconnect to it until it comes back (i.e. its not so much failover as "keep-trying-to-reconnect")
> Server fails with message "Did not receive initial ping for connection"
> -----------------------------------------------------------------------
>
> Key: JBMESSAGING-1699
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1699
> Project: JBoss Messaging
> Issue Type: Bug
> Affects Versions: 2.0.0.beta4
> Reporter: Adrian Woodhead
> Assignee: Tim Fox
> Fix For: 2.0.0
>
> Attachments: jbm-jstack-fail.txt, messaging.log.fail
>
>
> I just upgraded to 2.0.0.BETA3 to 2.0.0.BETA4. After doing the upgrade I restarted some of the JBM clients. Some of these were deadlocked and had to be stopped using "kill -9" - i.e. they did not cleanly shutdown their jbm-related resources. This went fine for about 10 clients, but at some point during this process the server went absolutely nuts, logging hundreds of messages like:
> [Thread-3 (group:JBM-scheduled-threads-1321312491)] 16:31:36,436 WARNING [org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl] Connection failure has been detected Did not receive ping from client. It is likely a client has exited or crashed without closing its connection, or the network between the server and client has failed. The connection will now be closed.:3
> There were also a number of exceptions in the server log. After this I couldn't CTRL-C to stop the server but had to kill -9 the jbm process as it had locked up entirely.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list