activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <>
Subject [jira] Commented: (AMQ-2372) Number of pending messages are greater than 0 but no actual messages on queues
Date Fri, 11 Sep 2009 08:16:12 GMT


Gary Tully commented on AMQ-2372:

resizing the index persistent hash does lock the store and can take some time. To prevent
a resize at run time you can configure the initial size of the hash bins using the "indexBinSize"
attribute  of the kaha persistence adapter.

You may also want to consider the kahaDB store in the 5.3 snapshot which has more consistent
enqueue rate profile. An example configuration can be found at

> Number of pending messages are greater than 0 but no actual messages on queues
> ------------------------------------------------------------------------------
>                 Key: AMQ-2372
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.1.0
>         Environment: CentOS 5
>            Reporter: Loc Truong
>         Attachments: Abstract.php, activemq.xml, IPBonus.php
> - Start up AMQ normally
> - Running 2m to 3m messages daily
> - After 36 to 72 hours, AMQ starts to act abnormally with "Number Of Pending Messages"
showing a positive number (messages available) but nothing can get delivered. If I view the
messages of a queue there are no messages, the "Number Of Pending Messages" stays positive
and keeps increasing (messages are being sent continuously). The consumers also receives no
messages (as what happens when I view the queues).
> At the moment, we have to restart the AMQ manually as it's the only way to fix. It's
kind of painful tho when it happens on weekend, holidays or midnight.
> FYI, we use Stomp connector.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message