On 11/11/2013 10:15 PM, Jakub Scholz wrote:
Hi Gordon,

It took some experimenting, but at the end I managed to reproduce it with
qpid-send (rev 1540863):
$ /usr/local/libexec/qpid/tests/qpid-send -b admin/admin@localhost:20000
--address "my-test-queue-2; { node: { type: queue }, assert: never, create:
never }" --connection-options "{ protocol: 'amqp1.0' }" --messages 1000
qpid-send: Link detached by peer with amqp:precondition-failed:
resource-limit-exceeded: Maximum depth exceeded on my-test-queue-2:
current=[count: 10, size: 10624], max=[count: 10, size: 1024000000]
(/home/jakub/qpid/qpid-trunk/cpp/src/qpid/broker/Queue.cpp:1623)

The key for reproducing it with qpid-send seems to be sending a lot of
messages. I usually needed at least 50 on my host. With just few messages
it doesn't seem to happen.

I have also another clue which might help you find what the problem is ...
in my application, if I close only the session and connection it will stuck
in the close() call. But if I first call sender.close() everything seems to
work fine.

Thanks as always Jakub! I have reproduced this and checked in a fix (QPID-5331).


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to