qpid-stats shows msgOut is greater than msgIn - resulting in counter underflow ------------------------------------------------------------------------------
Key: QPID-3509
URL: https://issues.apache.org/jira/browse/QPID-3509
Project: Qpid
Issue Type: Bug
Affects Versions: 0.10
Environment: Linux blade system running Ubuntu 10.04
Reporter: Mark Boot
qpid-stat shows that the number of msgOut is greater than the number of msgIn
resulting in counter underflow.
In this example it occurred in AE.Queue4 but it has also been reproduced with
other queues
$ PYTHONPATH=../python/ ./qpid-stat -q
Queues
queue dur autoDel excl msg msgIn
msgOut bytes bytesIn bytesOut cons bind
===========================================================================================================================
AE.Queue1 24.7k 409k
384k 434m 3.19g 2.75g 1 3
AE.Queue2 30.8k 423k
392k 312m 3.21g 2.89g 1 3
AE.Queue3 24.1k 409k
385k 416m 3.19g 2.77g 1 3
AE.Queue4 4.29g 50.6k
53.6k 306m 3.17g 2.86g 1 3
AE.Queue6 29.9k 409k
379k 535m 3.20g 2.67g 1 3
topic-LAB.5247.1 Y Y 0 0
0 0 0 0 1 4
qmfc-v2.5247.1 Y Y 0 11
11 0 22.8k 22.8k 1 2
b8c26cc7-2047-4646-bf68-986a94a9b75c# Y 0 68
68 0 845k 845k 1 1
AE.Queue5 38.1k 428k
390k 723m 3.20g 2.48g 1 3
qmfc-v2-ui.5247.1 Y Y 0 0
0 0 0 0 1 1
AE.Queue7 24.1k 409k
385k 412m 3.19g 2.78g 1 3
qmfc-v2-hb.5247.1 Y Y 0 0
0 0 0 0 1 2
R.Notes 125k 409k
284k 2.49g 3.72g 1.22g 1 19
reply.5247.1 Y Y 0 58
58 0 22.2k 22.2k 1 2
Udr 4.71k 358k
353k 6.81m 546m 539m 1 2
$ PYTHONPATH=../python/ ./qpid-stat -q
Queues
queue dur autoDel excl msg msgIn
msgOut bytes bytesIn bytesOut cons bind
===========================================================================================================================
topic.5285.1 Y Y 0 0
0 0 0 0 1 4
AE.Queue1 18.3k 410k
392k 419m 3.26g 2.84g 1 3
qmfc-v2-ui.5285.1 Y Y 0 0
0 0 0 0 1 1
AE.Queue2 24.2k 424k
400k 296m 3.28g 2.98g 1 3
reply.5285.1 Y Y 0 58
58 0 22.2k 22.2k 1 2
AE.Queue3 17.8k 410k
392k 403m 3.26g 2.86g 1 3
qmfc-v2.5285.1 Y Y 0 11
11 0 22.8k 22.8k 1 2
AE.Queue4 4.29g 50.8k
55.1k 288m 3.24g 2.95g 1 3
AE.Queue6 23.9k 410k
386k 523m 3.27g 2.75g 1 3
b8c26cc7-2047-4646-bf68-986a94a9b75c# Y 0 69
69 0 857k 857k 1 1
AE.Queue5 32.5k 429k
397k 719m 3.27g 2.55g 1 3
AE.Queue7 17.6k 410k
393k 397m 3.26g 2.86g 1 3
R.Notes 125k 410k
285k 2.53g 3.79g 1.26g 1 19
qmfc-v2-hb.5285.1 Y Y 0 0
0 0 0 0 1 2
Udr 5.90k 359k
353k 8.51m 548m 539m 1 2
> show queue-sizes
CURRENT
QUEUE TOTAL TOTAL
SLOT QUEUE NAME DEPTH ENQUEUES DEQUEUES
------------------------------------------------------------------------------
2 AE.Queue4 607 49957 49350
2 AE.Queue1 39741 405541 365800
2 AE.Queue6 43976 405474 361498
2 AE.Queue2 48415 419741 371326
2 AE.Queue7 38957 405494 366537
2 AE.Queue5 51589 424774 373185
2 AE.Queue3 39066 405531 366465
2 R.Notes 125171 405468 280297
2 Udr 1563 355500 353937
[ok][2011-09-22 18:30:29]
> show queue-sizes
CURRENT
QUEUE TOTAL TOTAL
SLOT QUEUE NAME DEPTH ENQUEUES DEQUEUES
---------------------------------------------------------------------------------
2 AE.Queue4 4294966598 50200 50898
2 AE.Queue1 32987 406690 373703
2 AE.Queue6 36823 406619 369796
2 AE.Queue2 37672 420740 383068
2 AE.Queue7 32352 406640 374288
2 AE.Queue5 45364 425924 380560
2 AE.Queue3 32412 406679 374267
2 R.Notes 125171 406611 281440
2 Udr 2463 356400 353937
[ok][2011-09-22 18:31:11]
> show queue-sizes
CURRENT
QUEUE TOTAL TOTAL
SLOT QUEUE NAME DEPTH ENQUEUES DEQUEUES
---------------------------------------------------------------------------------
2 AE.Queue4 4294966472 50218 51042
2 AE.Queue1 32189 406805 374616
2 AE.Queue6 36531 406734 370203
2 AE.Queue2 36498 420961 384463
2 AE.Queue7 31871 406754 374883
2 AE.Queue5 44666 426039 381373
2 AE.Queue3 31881 406794 374913
2 R.Notes 125171 406726 281555
2 Udr 2561 356498 353937
[ok][2011-09-22 18:31:15]
> show queue-sizes
CURRENT
QUEUE TOTAL TOTAL
SLOT QUEUE NAME DEPTH ENQUEUES DEQUEUES
---------------------------------------------------------------------------------
2 AE.Queue4 4294963709 50659 54246
2 AE.Queue1 22778 409823 387045
2 AE.Queue6 28114 409747 381633
2 AE.Queue2 29024 423850 394826
2 AE.Queue7 22204 409766 387562
2 AE.Queue5 36500 429056 392556
2 AE.Queue3 22416 409813 387397
2 R.Notes 125171 409740 284569
2 Udr 5133 359070 353937
[ok][2011-09-22 18:32:46]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]
