Hi,

We are using release 0.24 of the C++ broker and client software and we see this 
exception occur. Can someone explain what seems to be going wrong?

2013-10-07T14:58:46.041107+00:00 pld0104 qpidd[1616]: 2013-10-07 14:58:46 
[Protocol] error Execution exception: resource-limit-exceeded: 
resource-limit-exceeded: Maximum depth exceeded on 
amq.topic_5a1d09d8-fa09-4912-9763-503479a1d999: current=[count: 0, size: 0], 
max=[size: 104857600] (qpid/broker/Queue.cpp:1592)

See (e.g.) 
"/workspaces/mwhite/r102/wrd/3rdParty/Qpid/qpid/src/qpid/src/qpid/broker/Queue.cpp".
 This exception is thrown in:

bool Queue::checkDepth(const QueueDepth& increment, const Message&)
{
    if (settings.maxDepth && (settings.maxDepth - current < increment)) {
        if (mgmtObject) {
            mgmtObject->inc_discardsOverflow();
            if (brokerMgmtObject)
                brokerMgmtObject->inc_discardsOverflow();
        }
        throw ResourceLimitExceededException(QPID_MSG("Maximum depth exceeded 
on " << name << ": current=[" << current << "], max=[" << settings.maxDepth << 
"]"));
    } else {
        current += increment;
        return true;
    }
}


Thanks

Nitin

Reply via email to