Chuck Rolke created QPID-6280:
---------------------------------

             Summary: C++ Messaging example server resource leak
                 Key: QPID-6280
                 URL: https://issues.apache.org/jira/browse/QPID-6280
             Project: Qpid
          Issue Type: Bug
          Components: Qpid Examples
    Affects Versions: 0.30
         Environment: Trunk build, fedora 19
            Reporter: Chuck Rolke


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




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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to