Bug 1014076

Summary: queue size limit cannot be disabled
Product: Red Hat Enterprise MRG Reporter: Gordon Sim <gsim>
Component: qpid-cppAssignee: Gordon Sim <gsim>
Status: CLOSED CURRENTRELEASE QA Contact: Zdenek Kraus <zkraus>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: DevelopmentCC: esammons, iboverma, jross, zkraus
Target Milestone: 3.0Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.22-19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-01-21 12:56:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Gordon Sim 2013-10-01 11:35:58 UTC
Description of problem:

Setting a qpid.max_size of 0 has no effect; the default queue limit still applies.

Version-Release number of selected component (if applicable):

qpid 0.20 - qpid 0.24

How reproducible:
100%

Steps to Reproduce:
1. start qpidd with --default-queue-limit 10000
2. qpid-send -m 10000 -a 'no-size-limit; {create: always,node:{x-declare:{arguments:{qpid.max_size:0}}}}' --content-size 100

Actual results:

Get a resource exceeded error though we wanted to explicitly disable the size limit.

Expected results:

Can add all messages to the queue without error.

Additional info:

Comment 1 Gordon Sim 2013-10-01 11:37:07 UTC
Fixed upstream: https://svn.apache.org/r1528044

Comment 3 Zdenek Kraus 2014-01-13 15:22:50 UTC
This was tested on RHEL 6.5 i686, x86_64 with following packages:

perl-qpid-0.22-7.el6
python-qpid-0.22-9.el6
python-qpid-qmf-0.22-25.el6
qpid-cpp-client-0.22-31.el6
qpid-cpp-client-devel-0.22-31.el6
qpid-cpp-client-devel-docs-0.22-31.el6
qpid-cpp-client-ssl-0.22-31.el6
qpid-cpp-debuginfo-0.22-31.el6
qpid-cpp-server-0.22-31.el6
qpid-cpp-server-devel-0.22-31.el6
qpid-cpp-server-ha-0.22-31.el6
qpid-cpp-server-linearstore-0.22-31.el6
qpid-cpp-server-ssl-0.22-31.el6
qpid-cpp-server-xml-0.22-31.el6
qpid-java-client-0.22-5.el6
qpid-java-common-0.22-5.el6
qpid-java-example-0.22-5.el6
qpid-jca-0.22-1.el6
qpid-jca-xarecovery-0.22-1.el6
qpid-proton-c-0.6-1.el6
qpid-proton-c-devel-0.6-1.el6
qpid-qmf-0.22-25.el6
qpid-snmpd-1.0.0-15.el6
qpid-tools-0.22-7.el6
ruby-qpid-qmf-0.22-25.el6


fix work as expected.