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

C++ Messaging example server resource leak

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.30
    • None
    • C++ Examples
    • None
    • Trunk build, fedora 19

    Description

      Qpid C++ messaging example server.cpp never closes the reply senders. This leaks resources and causes performance issues.

      Modifying client.cpp to send the four strings 5000 times give these gross timing results:

      protocol time server - trunk server - closes senders
      amqp0-10 real 7m 22s 0m 5.9s
      amqp0-10 user 2.888s 1.056s
      amqp0-10 sys 1.507s 0.661s

      Stock or patched server.cpp, amqp1.0, the client program does not finish. It complete 1250 passes of four messages and hangs. Repeated runs all fail on pass 1250. This is probably related to https://issues.apache.org/jira/browse/PROTON-784

      Attachments

        Activity

          People

            Unassigned Unassigned
            chug Charles E. Rolke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: