Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-2440

stomp+nio leaking file descriptor on client drop

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.3.0
    • 5.3.1, 5.4.0
    • Transport
    • None
    • Windows XP

    Description

      The bug is observed on code checkout from https://svn.apache.org/repos/asf/activemq/tags/activemq-5.3.0
      A server is initiated with stomp+nio transport on port 61612.

      A client connects. A SelectorWorker is created on SelectorManager:68.
      If the client drops the connection an exception is received at StompNIOTransport:91.
      "java.io.IOException: An existing connection was forcibly closed by the remote host".
      But selector are not cleaned up. It works with stomp transport. But not with stomp+nio.

      What I see in the end is an increasing number of "connections" if the JVM.

      Attachments

        1. AMQ-2440-1.txt
          2 kB
          Danilo Tuler
        2. StompDropTestConsumer.java
          1 kB
          Danilo Tuler
        3. StompDropTestServer.java
          0.4 kB
          Danilo Tuler

        Activity

          People

            dejanb Dejan Bosanac
            tuler Danilo Tuler
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: