You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "KALYANARAMAN SIVARAMAN (Jira)" <ji...@apache.org> on 2020/09/10 19:39:00 UTC

[jira] [Issue Comment Deleted] (QPID-8462) Qpid broker memory increases when a receiver is paused with message pending acks

     [ https://issues.apache.org/jira/browse/QPID-8462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

KALYANARAMAN SIVARAMAN updated QPID-8462:
-----------------------------------------
    Comment: was deleted

(was: Also your comment on configuring the hearbeat doesn't work as the server will just log the even and does not take any action.

 

"If heartbeating is activated, and a broker does not receive a heartbeat from the server for delay * (server)timeoutFactor seconds then it logs this event but does not take any further action (i.e. the connection is not closed, and processing of incoming data/sending outgoing data still occurs."

 

[https://cwiki.apache.org/confluence/display/qpid/Configure+Broker+and+Client+Heartbeating#:~:text=Qpid%20allows%20for%20the%20heartbeat,explicitly%20set%20the%20heartbeat%20interval.&text=To%20set%20the%20heartbeat%20interval,%2C%20the%20system%20property%20%22amqj.]

 )

> Qpid broker memory increases when a receiver is paused with message pending acks 
> ---------------------------------------------------------------------------------
>
>                 Key: QPID-8462
>                 URL: https://issues.apache.org/jira/browse/QPID-8462
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: qpid-cpp-1.39.0
>         Environment: Linux
>  
>            Reporter: KALYANARAMAN SIVARAMAN
>            Priority: Major
>         Attachments: brokerMemoryIncrease.tar
>
>
> Given the situation where we have a receiver "Receiver1" acquire 1 message from a queue "ReceiverQueue" but if the message is not acknowledged and Receiver1 process is paused using kill -STOP <pidOfReceiver1>.
> Any further messages sent to ReceiverQueue is marked as DELETED even though we have another receiver "Receiver2" properly acquire messages from the queue and also sends acknowledgements, the broker memory linearly increases until all the memory in the box is used. Purger cleaning up messages does not help. Once we kill Receiver1 the broker memory stabilizes.
> All of the repro steps are automated in the attached reproducer.
>  
> Please follow the steps to reproduce the issue
>  
> Step 1: tar -xf brokerMemoryIncrease.tar
> Step 2: cd brokerMemoryIncrease
> Step 3: ./qpidRepro.sh
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org