Bug 477036 - Denial of Service - One backed-up queue on a topic exchange causes messages to be dropped
Summary: Denial of Service - One backed-up queue on a topic exchange causes messages t...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: 1.1
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
: ---
Assignee: Gordon Sim
QA Contact: Frantisek Reznicek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-18 19:55 UTC by Ted Ross
Modified: 2015-11-16 00:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 15:51:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ted Ross 2008-12-18 19:55:22 UTC
When multiple queues are bound to a topic exchange and one of the queues is full enough to cause flow-to-disk to be invoked, all messages to the exchange are dropped and none of the bound queues receive the messages.

Here's the syslog output showing the broker recovering from this condition:

Dec 18 14:29:54 north-15 qpidd[27188]: 2008-dec-18 14:29:54 warning Message 842097 on topic-dhcp-100-18-135.bos.redhat.com.22242 cannot be released from memory as the queue is not durable 
Dec 18 14:30:04 north-15 qpidd[27188]: 2008-dec-18 14:30:04 warning Message 842098 on topic-dhcp-100-18-135.bos.redhat.com.22242 cannot be released from memory as the queue is not durable 
Dec 18 14:30:14 north-15 qpidd[27188]: 2008-dec-18 14:30:14 warning Message 842099 on topic-dhcp-100-18-135.bos.redhat.com.22242 cannot be released from memory as the queue is not durable 
Dec 18 14:30:24 north-15 qpidd[27188]: 2008-dec-18 14:30:24 info Queue size within policy for topic-dhcp-100-18-135.bos.redhat.com.22242

Comment 1 Gordon Sim 2009-01-02 12:53:24 UTC
Addressing this requires richer queue policies allowing messages to be dropped (can be done at present in limited form through use of ring queue) or dead-lettered when limit is reached, perhaps also allowing the option of terminating subscribed sessions for the overflowing queue.

Comment 3 Gordon Sim 2014-01-23 15:51:19 UTC
There are now various means for configuring and controlling this.


Note You need to log in before you can comment on or make changes to this bug.