Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-934

Stomp server keeps pinging client after client stops responding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.3, 2.0.0
    • STOMP
    • None

    Description

      If a stomp client is receiving server pings and subsequently stops responding to the pings without gracefully disconnecting, the server keeps attempting pings indefinitely even after the connection is closed. If this happens with many clients it will continue to consume server resources and fill the server log with warnings:

      14:33:20,878 WARN [org.apache.activemq.artemis.core.protocol.stomp] AMQ222068: connection closed org.apache.activemq.artemis.core.protocol.stomp.StompConnection@18a45f2e

      This problem can be easily reproduced by creating a Stomp client that initially responds to pings but then stops responding, for example by stopping the client thread responsible for handling the server pings.

      The only solution is to restart the server to clean up all of the ping attempts.

      Attachments

        1. activemq-artemis-bug.zip
          644 kB
          Jon Kranes

        Issue Links

          Activity

            People

              clebertsuconic Clebert Suconic
              jkranes99 Jon Kranes
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: