Steve, Thanks. That explains a lot. We are not trying to send such a large message, that is the bug we have. I assumed that there is a way to define the Queue size, but we do not need to set it and go with the defaults for the time being.
Thanks for your help. Nitin -----Original Message----- From: Steve Huston [mailto:shus...@riverace.com] Sent: Tuesday, October 08, 2013 4:25 PM To: dev@qpid.apache.org Subject: RE: Can someone explain what is going on here Right, apparently a message whose size is over the limit was attempted. That's a pretty big message (~100MB) - did you expect that, or did the client send something much bigger than you intended? If needed, you can change the size limit when creating the queue. I don't have the details on how to do that handy, but they should be in the programming guide in the docs section of the qpid.apache.org site. -Steve > -----Original Message----- > From: Nitin Shah [mailto:ns...@btisystems.com] > Sent: Tuesday, October 08, 2013 4:20 PM > To: dev@qpid.apache.org > Subject: RE: Can someone explain what is going on here > > Is the limit saying that it has received a very large Message? The > size shown ( > 104857600 ) is it that one that has exceeded? The current count and > size is at 0. > Not knowing the code flow and how the internals work, I want to try > and understand what we could be doing that causes this exception. Can > you help? > > Nitin > > -----Original Message----- > From: Steve Huston [mailto:shus...@riverace.com] > Sent: Tuesday, October 08, 2013 4:11 PM > To: dev@qpid.apache.org > Subject: RE: Can someone explain what is going on here > > Hi Nitin, > > It seems that the limit on number of bytes in the queue has been reached. > Did you not expect that? > > -Steve > > > -----Original Message----- > > From: Nitin Shah [mailto:ns...@btisystems.com] > > Sent: Tuesday, October 08, 2013 3:54 PM > > To: dev@qpid.apache.org > > Cc: Nitin Shah > > Subject: Can someone explain what is going on here > > > > 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/bro > > ker/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 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional > commands, e-mail: dev-h...@qpid.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional > commands, e-mail: dev-h...@qpid.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org