You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/06 20:07:00 UTC
[jira] [Commented] (DISPATCH-1213) Sender link sending
pre-settled multi-frame deliveries can stall if receiver drops
[ https://issues.apache.org/jira/browse/DISPATCH-1213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711970#comment-16711970 ]
ASF GitHub Bot commented on DISPATCH-1213:
------------------------------------------
GitHub user ganeshmurthy opened a pull request:
https://github.com/apache/qpid-dispatch/pull/425
DISPATCH-1213 - Prevent stalling of presettled large message senders …
…by calling the AMQP_rx_handler which start emptying proton buffers again
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-1213
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/425.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #425
----
commit e8124dced7a70f6126f643959cac4603dcae0fbb
Author: Ganesh Murthy <gm...@...>
Date: 2018-12-06T20:00:30Z
DISPATCH-1213 - Prevent stalling of presettled large message senders by calling the AMQP_rx_handler which start emptying proton buffers again
----
> Sender link sending pre-settled multi-frame deliveries can stall if receiver drops
> ---------------------------------------------------------------------------------------
>
> Key: DISPATCH-1213
> URL: https://issues.apache.org/jira/browse/DISPATCH-1213
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Container
> Affects Versions: 1.4.1
> Reporter: Ganesh Murthy
> Assignee: Ganesh Murthy
> Priority: Major
> Fix For: 1.5.0
>
>
> Steps to reproduce -
> # Start the router
> # Start a receiver and receive 10 messages.
> {noformat}
> python simple_recv.py --address 0.0.0.0/examples -m10{noformat}
> # Send 200 large presettled messages
> {noformat}
> python big_send_settled.py --address 0.0.0.0/examples -m200{noformat}
> # Look at the output of qdstat -g
> {noformat}
> [gmurthy@localhost ~]$ qdstat -g
> Router Statistics
> attr value
> =============================================================
> Version 1.5.0-SNAPSHOT
> Mode standalone
> Router Id Standalone_lPF38hMqjGI_iAO
> Area 0
> Link Routes 0
> Auto Links 0
> Links 3
> Nodes 0
> Addresses 5
> Connections 2
> Presettled Count 17
> Dropped Presettled Count 2
> Accepted Count 1
> Rejected Count 0
> Released Count 0
> Modified Count 0
> Ingress Count 19
> Egress Count 17
> Transit Count 0
> Deliveries from Route Container 0
> Deliveries to Route Container 0
> {noformat}
> The Ingress Count should be more than 200. We had all the credit we need to send 200 messages.
> # The messages are stuck inside the proton buffer. The router stopped fetching the messages from the proton buffer as soon as the q2_holdoff limit was hit.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org