Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-3828

When sending large messages loss of connection is not detected even with heartbeats enabled

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.14, 0.15
    • 0.23
    • C++ Client
    • None

    Description

      E.g run qpid-send --broker <remote-broker> --connection-options

      {heartbeat:8}

      --messages 0 --content-size 1600 --report-every 1000 --address amq.topic

      then after some time pull the network cable (you have to do this, a kill -STOP on the broker is not sufficient). The test will continue sending messages then eventually hang (when buffers are full). If you reconnect the cable, the connection will fail but if you don't, it will not.

      If you reduce the size e.g. to 100 bytes , the connection fails as expected after two heartbeat intervals (16 secs in this case).

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            astitcher Andrew Stitcher
            gsim Gordon Sim
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment