Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-4261

Please change logging message from INFO to WARN or ERROR when persistent store is full

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.5.1
    • 5.16.0
    • None
    • None

    Description

      We use KahaDB for ActiveMQ persistence. When queue's persistent store is full, a message such as the following is logged at the INFO level.
      We'd like to request the message to be logged at the ERROR or WARN level. This is because production systems typically configures loggers to display messages at WARN level. A situation such as this gets into deadlock and makes the application unusable. Displaying the message at the ERROR or WARN
      level will provide visibility about the issue for typical production usage.

      2013-01-17 10:56:28,563 | INFO | iveMQ Task-37644 | Queue | 118 - org.apache.activemq.activemq-core - 5.5.1.fuse-7-061 | Usage
      (default:store:queue://xrm-BundleStagingQ:store) percentUsage=99%, usage=1094475857, limit=1073741824, percentUsageMinDelta=1%;Parent:Usage(default:store)
      percentUsage=101%, usage=1094475857, limit=1073741824, percentUsageMinDelta=1%: Persistent store is Full, 100% of 1073741824. Stopping producer (ID:vlcov
      46.fmr.com-47345-1358284999111-4:6:2548:1) to prevent flooding queue://xrm-BundleStagingQ. See http://activemq.apache.org/producer-flow-control.html for m
      ore info (blocking for: 29828s)

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              vincentgao Vincent Gao
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: