qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chuck Rolke (JIRA)" <j...@apache.org>
Subject [jira] [Created] (QPID-6280) C++ Messaging example server resource leak
Date Fri, 19 Dec 2014 19:35:13 GMT
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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message