You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Chuck Rolke (JIRA)" <ji...@apache.org> on 2014/12/19 20:40:13 UTC
[jira] [Commented] (QPID-6280) C++ Messaging example server
resource leak
[ https://issues.apache.org/jira/browse/QPID-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14253884#comment-14253884 ]
Chuck Rolke commented on QPID-6280:
-----------------------------------
Using AMQP 1.0 (despite hanging) behaves better by closing the senders. Without any change the server attaches to broker once per reply but never detaches the link. By closing the sender the server causes detach frames to be sent to the broker.
> 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