2 Replies Latest reply on Sep 20, 2010 12:02 AM by jessicaleahy

    store memory close to 100%

    dan.cojocar

      Hello all,

      We are using apache-activemq-5.4.0-fuse-00-00 and the system is running properly for days. But sometimes we see that all our producers are paused due to the fact that the "Memory percent used" is close to 100%. Note that all queues are empty at that time. Also the messages that are pushed in our topic expire after 3 minutes, and since we don't have messages in our queues to consume, we are not pushing new topic messages, but the memory remains full even if all our producers are paused and all our messages have expired.

      We are using amqPersistenceAdapter (with kahaDB is the same, but with kahaDB the system is slower then amq) and the following system usage config:

       

      Also we are using discardingDLQBrokerPlugin with: dropAll="true" dropTemporaryQueues="true" dropTemporaryTopics="true".

      What can we do to investigate further and fix this problem?

      Regards,

      Dan

        • 1. Re: store memory close to 100%
          garytully

          Hi Dan,

          best approach is to try and build up a test case from what you know to see if you can isolate or reproduce the problem.

          I see two potential candidates for generating an imbalance on memory usage.

          1) the DLQ discarding messages

          2) the message expiry processing

          It may be possible to build a test case that introduces one at a time to see if you can reproduce.

          Introducing a lower memory limit for your test case will help reproduce in a shorter period of time.

          • 2. Re: store memory close to 100%
            jessicaleahy

            hi..thanks tully..i also tried your tips...it worked fine with my issue.