qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Huston <shus...@riverace.com>
Subject RE: Can someone explain what is going on here
Date Tue, 08 Oct 2013 20:25:07 GMT
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:nshah@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:shuston@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:nshah@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-unsubscribe@qpid.apache.org For additional
> commands, e-mail: dev-help@qpid.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org For additional
> commands, e-mail: dev-help@qpid.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message