You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (JIRA)" <ji...@apache.org> on 2015/11/13 13:15:10 UTC

[jira] [Created] (QPID-6846) [Java Broker] IdleTimeoutTicker causes I/O network thread spinning on AMQP 1.0 due to unimplemented heartbeating

Alex Rudyy created QPID-6846:
--------------------------------

             Summary: [Java Broker] IdleTimeoutTicker causes I/O network thread spinning on AMQP 1.0 due to unimplemented heartbeating
                 Key: QPID-6846
                 URL: https://issues.apache.org/jira/browse/QPID-6846
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-6.0
            Reporter: Alex Rudyy
            Assignee: Alex Rudyy
             Fix For: qpid-java-6.0


IdleTimeoutTicker maxReadIdle timeout is set to 2 seconds by default. When 2 seconds interval expires, IdleTimeoutTicker initiate heartbeating.

On AMQP 1.0 heartbeating is not implemented, as result, when client application does not send any data,  IdleTimeoutTicker can cause an infinite spinning in IO thread due to resetting selector interests which is set to read on selector wake-up. Selector interest continually flips between OP_READ and 0.

We can temporarily disable IdleTimeoutTicker by setting maxReadIdle to 0 until heartbeating is implemented (QPID-6843) in order to work around the issue



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org