You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@qpid.apache.org by Rajesh Khan <ra...@gmail.com> on 2013/01/28 16:53:08 UTC

Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Hello , I currently have a LVQ which is constantly receiving messages a
very very high rate (about 3 messages every 2 milliseconds).
After changing Queue type to LVQ I got the following error message

Framing Errror -Attempted Sizeunderflow on dequeue(699). SizeMax=104857600
current 698 count:unlimited type:reject (Qpid\Broker\Queuepolicy.cp:55)

Does this mean that LVQ cant process messages that are coming in too fast ?
Any suggestions on how I could resolve this issue wouldbe appreciated.
I am usig Windows 7 with Qpid-0.18

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Gordon Sim <gs...@redhat.com>.
On 01/28/2013 05:13 PM, Rajesh Khan wrote:
> I am already starting qpid with --auth=no parameter. As far as I know the
> remaining parameters get neglected and only the first parameter counts.

No, all parameters should be read.

> Will the following command work
>
> *qpidd -auth=no --log-enable trace+:amqp_0_10 --log-enable notice+
> --log-to-file "c:\logger.txt"*

Yes, it should.


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


Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Rajesh Khan <ra...@gmail.com>.
I am already starting qpid with --auth=no parameter. As far as I know the
remaining parameters get neglected and only the first parameter counts.
Will the following command work

*qpidd -auth=no --log-enable trace+:amqp_0_10 --log-enable notice+
--log-to-file "c:\logger.txt"*

On Mon, Jan 28, 2013 at 10:09 AM, Gordon Sim <gs...@redhat.com> wrote:

> On 01/28/2013 05:03 PM, Rajesh Khan wrote:
>
>> Sure I could do that. Where will the log file be created ? I havent setup
>> logging in my code
>>
>
> You should be able to start qpidd with --log-to-file <path-to-file> to
> have it use a location of your choosing.
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<us...@qpid.apache.org>
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Rajesh Khan <ra...@gmail.com>.
While  going over the log thats what showed up (specific section)

2013-01-30 12:41:12 [Protocol] trace SENT [[::1]:5672-[::1]:53052]:
Frame[Ebe; channel=1; content (698 bytes)
\x00\x00\x02\xB6\x00\x00\x00\x01\xA8\x00\x00\x02\xAD\x00\x00\x00%\x06_bTime\x90\x00\x0812:41...]
2013-01-30 12:41:12 [Protocol] trace SENT [[::1]:5672-[::1]:53053]:
Frame[Ebe; channel=1; content (699 bytes)
\x00\x00\x02\xB7\x00\x00\x00\x01\xA8\x00\x00\x02\xAE\x00\x00\x00%\x06_bTime\x90\x00\x0812:41...]
2013-01-30 12:41:12 [Protocol] trace RECV [[::1]:5672-[::1]:53050]:
Frame[Ebe; channel=1; content (698 bytes)
\x00\x00\x02\xB6\x00\x00\x00\x01\xA8\x00\x00\x02\xAD\x00\x00\x00%\x06_bTime\x90\x00\x0812:41...]
2013-01-30 12:41:12 [Protocol] trace RECV [[::1]:5672-[::1]:53048]:
Frame[Ebe; channel=1; content (698 bytes)
\x00\x00\x02\xB6\x00\x00\x00\x01\xA8\x00\x00\x02\xAD\x00\x00\x00%\x06_bTime\x90\x00\x0812:41...]
2013-01-30 12:41:12 [Protocol] trace RECV [[::1]:5672-[::1]:53049]:
Frame[Ebe; channel=1; content (698 bytes)
\x00\x00\x02\xB6\x00\x00\x00\x01\xA8\x00\x00\x02\xAD\x00\x00\x00%\x06_bTime\x90\x00\x0812:41...]
2013-01-30 12:41:12 [Protocol] trace SENT [[::1]:5672-[::1]:53052]:
Frame[Bbe; channel=1; {MessageTransferBody: destination=LVQMChart-1Min-2;
accept-mode=0; acquire-mode=0; }]
2013-01-30 12:41:12 [Protocol] trace SENT [[::1]:5672-[::1]:53053]:
Frame[Bbe; channel=1; {MessageTransferBody: destination=LVQMChart-1Min-3;
accept-mode=0; acquire-mode=0; }]
2013-01-30 12:41:12 [Protocol] error Unexpected exception: Attempted size
underflow on dequeue(698): size: max=104857600, current=0; count:
unlimited; type=reject (qpid\broker\QueuePolicy.cpp:55)

I am trying to figure out how i could resolve this issue.


On Wed, Jan 30, 2013 at 1:44 PM, Rajesh Khan <ra...@gmail.com>wrote:

> I have also uploaded my logging file - you can download it from
>
> http://www.filesend.net/download.php?f=12d98ace7fc607dde21e565c356b1735
>
> Any idea on why we get this exception. I am using Qpid Broker 0.18 built
> from C++
>
>
> On Wed, Jan 30, 2013 at 1:35 PM, Jakub Scholz <ja...@scholz.cz> wrote:
>
>> Hi,
>>
>> My colleagues were seeing similar errors when using the MRG-M 2.1 broker:
>>
>> 2012-10-05 10:13:10 error Unexpected exception: Attempted count underflow
>> on dequeue(313): size: max=1000000, current=243; count: max=1000,
>> current=0; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:50)
>> 2012-09-27 19:33:07 error Failed to commit: Attempted size underflow on
>> dequeue(1424): size: max=1000000, current=1097; count: max=1000,
>> current=0;
>> type=flow_to_disk (qpid/broker/QueuePolicy.cpp:55)
>> 2012-09-27 19:33:26 error Failed to commit: Attempted count underflow on
>> dequeue(1424): size: max=1000000, current=1097; count: max=1000,
>> current=0;
>> type=flow_to_disk (qpid/broker/QueuePolicy.cpp:50)
>>
>> It seemed to be in connection with JBoss / Qpid Java client using
>> transactions. Unfortunately, although they saw it multiple times, they
>> didn't managed to create some reproducer program or collect some better
>> logs than what is above. :-(
>>
>> Regards
>> Jakub
>>
>>
>> On Wed, Jan 30, 2013 at 8:55 PM, Rajesh Khan <rajeshkhan808@gmail.com
>> >wrote:
>>
>> > Hi Gordon , just emailed you the log file at gsim@redhat.com
>> >
>> > On Wed, Jan 30, 2013 at 12:18 PM, Gordon Sim <gs...@redhat.com> wrote:
>> >
>> > > On 01/30/2013 06:53 PM, Rajesh Khan wrote:
>> > >
>> > >> Hi I am getting this error :
>> > >> framing-error: Attempted size underflow on dequeue(698): size:
>> > >> max=104857600, current=0; count: unlimited; type=reject
>> > >> (qpid\broker\QueuePolicy.cpp:**55) . I do have a logging file
>> however  I
>> > >> cant
>> > >> upload it at this mailing list its size is 902 KB . Any email
>> addresses
>> > I
>> > >> could mail it to ?
>> > >>
>> > >
>> > > You could create a JIRA and attach it there or failing that email it
>> to
>> > me.
>> > >
>> > >
>> > >
>> > >
>> ------------------------------**------------------------------**---------
>> > > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<
>> > users-unsubscribe@qpid.apache.org>
>> > > For additional commands, e-mail: users-help@qpid.apache.org
>> > >
>> > >
>> >
>>
>
>

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Rajesh Khan <ra...@gmail.com>.
I have also uploaded my logging file - you can download it from

http://www.filesend.net/download.php?f=12d98ace7fc607dde21e565c356b1735

Any idea on why we get this exception. I am using Qpid Broker 0.18 built
from C++

On Wed, Jan 30, 2013 at 1:35 PM, Jakub Scholz <ja...@scholz.cz> wrote:

> Hi,
>
> My colleagues were seeing similar errors when using the MRG-M 2.1 broker:
>
> 2012-10-05 10:13:10 error Unexpected exception: Attempted count underflow
> on dequeue(313): size: max=1000000, current=243; count: max=1000,
> current=0; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:50)
> 2012-09-27 19:33:07 error Failed to commit: Attempted size underflow on
> dequeue(1424): size: max=1000000, current=1097; count: max=1000, current=0;
> type=flow_to_disk (qpid/broker/QueuePolicy.cpp:55)
> 2012-09-27 19:33:26 error Failed to commit: Attempted count underflow on
> dequeue(1424): size: max=1000000, current=1097; count: max=1000, current=0;
> type=flow_to_disk (qpid/broker/QueuePolicy.cpp:50)
>
> It seemed to be in connection with JBoss / Qpid Java client using
> transactions. Unfortunately, although they saw it multiple times, they
> didn't managed to create some reproducer program or collect some better
> logs than what is above. :-(
>
> Regards
> Jakub
>
>
> On Wed, Jan 30, 2013 at 8:55 PM, Rajesh Khan <rajeshkhan808@gmail.com
> >wrote:
>
> > Hi Gordon , just emailed you the log file at gsim@redhat.com
> >
> > On Wed, Jan 30, 2013 at 12:18 PM, Gordon Sim <gs...@redhat.com> wrote:
> >
> > > On 01/30/2013 06:53 PM, Rajesh Khan wrote:
> > >
> > >> Hi I am getting this error :
> > >> framing-error: Attempted size underflow on dequeue(698): size:
> > >> max=104857600, current=0; count: unlimited; type=reject
> > >> (qpid\broker\QueuePolicy.cpp:**55) . I do have a logging file however
>  I
> > >> cant
> > >> upload it at this mailing list its size is 902 KB . Any email
> addresses
> > I
> > >> could mail it to ?
> > >>
> > >
> > > You could create a JIRA and attach it there or failing that email it to
> > me.
> > >
> > >
> > >
> > >
> ------------------------------**------------------------------**---------
> > > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<
> > users-unsubscribe@qpid.apache.org>
> > > For additional commands, e-mail: users-help@qpid.apache.org
> > >
> > >
> >
>

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Jakub Scholz <ja...@scholz.cz>.
Hi,

My colleagues were seeing similar errors when using the MRG-M 2.1 broker:

2012-10-05 10:13:10 error Unexpected exception: Attempted count underflow
on dequeue(313): size: max=1000000, current=243; count: max=1000,
current=0; type=flow_to_disk (qpid/broker/QueuePolicy.cpp:50)
2012-09-27 19:33:07 error Failed to commit: Attempted size underflow on
dequeue(1424): size: max=1000000, current=1097; count: max=1000, current=0;
type=flow_to_disk (qpid/broker/QueuePolicy.cpp:55)
2012-09-27 19:33:26 error Failed to commit: Attempted count underflow on
dequeue(1424): size: max=1000000, current=1097; count: max=1000, current=0;
type=flow_to_disk (qpid/broker/QueuePolicy.cpp:50)

It seemed to be in connection with JBoss / Qpid Java client using
transactions. Unfortunately, although they saw it multiple times, they
didn't managed to create some reproducer program or collect some better
logs than what is above. :-(

Regards
Jakub


On Wed, Jan 30, 2013 at 8:55 PM, Rajesh Khan <ra...@gmail.com>wrote:

> Hi Gordon , just emailed you the log file at gsim@redhat.com
>
> On Wed, Jan 30, 2013 at 12:18 PM, Gordon Sim <gs...@redhat.com> wrote:
>
> > On 01/30/2013 06:53 PM, Rajesh Khan wrote:
> >
> >> Hi I am getting this error :
> >> framing-error: Attempted size underflow on dequeue(698): size:
> >> max=104857600, current=0; count: unlimited; type=reject
> >> (qpid\broker\QueuePolicy.cpp:**55) . I do have a logging file however  I
> >> cant
> >> upload it at this mailing list its size is 902 KB . Any email addresses
> I
> >> could mail it to ?
> >>
> >
> > You could create a JIRA and attach it there or failing that email it to
> me.
> >
> >
> >
> > ------------------------------**------------------------------**---------
> > To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<
> users-unsubscribe@qpid.apache.org>
> > For additional commands, e-mail: users-help@qpid.apache.org
> >
> >
>

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Rajesh Khan <ra...@gmail.com>.
Hi Gordon , just emailed you the log file at gsim@redhat.com

On Wed, Jan 30, 2013 at 12:18 PM, Gordon Sim <gs...@redhat.com> wrote:

> On 01/30/2013 06:53 PM, Rajesh Khan wrote:
>
>> Hi I am getting this error :
>> framing-error: Attempted size underflow on dequeue(698): size:
>> max=104857600, current=0; count: unlimited; type=reject
>> (qpid\broker\QueuePolicy.cpp:**55) . I do have a logging file however  I
>> cant
>> upload it at this mailing list its size is 902 KB . Any email addresses I
>> could mail it to ?
>>
>
> You could create a JIRA and attach it there or failing that email it to me.
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<us...@qpid.apache.org>
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Gordon Sim <gs...@redhat.com>.
On 01/30/2013 06:53 PM, Rajesh Khan wrote:
> Hi I am getting this error :
> framing-error: Attempted size underflow on dequeue(698): size:
> max=104857600, current=0; count: unlimited; type=reject
> (qpid\broker\QueuePolicy.cpp:55) . I do have a logging file however  I cant
> upload it at this mailing list its size is 902 KB . Any email addresses I
> could mail it to ?

You could create a JIRA and attach it there or failing that email it to me.


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


Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Rajesh Khan <ra...@gmail.com>.
Hi I am getting this error :
framing-error: Attempted size underflow on dequeue(698): size:
max=104857600, current=0; count: unlimited; type=reject
(qpid\broker\QueuePolicy.cpp:55) . I do have a logging file however  I cant
upload it at this mailing list its size is 902 KB . Any email addresses I
could mail it to ?




On Mon, Jan 28, 2013 at 10:09 AM, Gordon Sim <gs...@redhat.com> wrote:

> On 01/28/2013 05:03 PM, Rajesh Khan wrote:
>
>> Sure I could do that. Where will the log file be created ? I havent setup
>> logging in my code
>>
>
> You should be able to start qpidd with --log-to-file <path-to-file> to
> have it use a location of your choosing.
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<us...@qpid.apache.org>
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Gordon Sim <gs...@redhat.com>.
On 01/28/2013 05:03 PM, Rajesh Khan wrote:
> Sure I could do that. Where will the log file be created ? I havent setup
> logging in my code

You should be able to start qpidd with --log-to-file <path-to-file> to 
have it use a location of your choosing.


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


Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Rajesh Khan <ra...@gmail.com>.
Sure I could do that. Where will the log file be created ? I havent setup
logging in my code

On Mon, Jan 28, 2013 at 10:05 AM, Gordon Sim <gs...@redhat.com> wrote:

> On 01/28/2013 03:53 PM, Rajesh Khan wrote:
>
>> Hello , I currently have a LVQ which is constantly receiving messages a
>> very very high rate (about 3 messages every 2 milliseconds).
>> After changing Queue type to LVQ I got the following error message
>>
>> Framing Errror -Attempted Sizeunderflow on dequeue(699). SizeMax=104857600
>> current 698 count:unlimited type:reject (Qpid\Broker\Queuepolicy.cp:**55)
>>
>> Does this mean that LVQ cant process messages that are coming in too fast
>> ?
>>
>
> No. It means there is a bug somewhere in the broker code. It sounds like
> it may be related to the computed message size changing between enqueue and
> dequeue.
>
>
>  Any suggestions on how I could resolve this issue wouldbe appreciated.
>> I am usig Windows 7 with Qpid-0.18
>>
>
> Can you create a simple reproducer? Or failing that a trace level log for
> a short a run as possible in reproducing it (e.g. --log-enable
> trace+:amqp_0_10 --log-enable notice+).
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@qpid.apache.**org<us...@qpid.apache.org>
> For additional commands, e-mail: users-help@qpid.apache.org
>
>

Re: Getting : Framing Errror - Attempted Sizeunderflow on dequeue(699)

Posted by Gordon Sim <gs...@redhat.com>.
On 01/28/2013 03:53 PM, Rajesh Khan wrote:
> Hello , I currently have a LVQ which is constantly receiving messages a
> very very high rate (about 3 messages every 2 milliseconds).
> After changing Queue type to LVQ I got the following error message
>
> Framing Errror -Attempted Sizeunderflow on dequeue(699). SizeMax=104857600
> current 698 count:unlimited type:reject (Qpid\Broker\Queuepolicy.cp:55)
>
> Does this mean that LVQ cant process messages that are coming in too fast ?

No. It means there is a bug somewhere in the broker code. It sounds like 
it may be related to the computed message size changing between enqueue 
and dequeue.

> Any suggestions on how I could resolve this issue wouldbe appreciated.
> I am usig Windows 7 with Qpid-0.18

Can you create a simple reproducer? Or failing that a trace level log 
for a short a run as possible in reproducing it (e.g. --log-enable 
trace+:amqp_0_10 --log-enable notice+).


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