ActiveMQ
  1. ActiveMQ
  2. AMQ-1764

strange slower consumer and borker problem,make slow consumer application and broker memory grow very fast

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 5.1.0
    • Fix Version/s: NEEDS_REVIEW
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      win2003sp2 , activemq 5.10 ,jdk6.0update6

      Description

      I write a fast producer(produce a message take 1 ms) and a slow consumer(consumer a message take 10 seconds) application,and config standalone activemq through activemq.xml,in the activemq.xml I config constantPendingMessageLimitStrategy limit="10",and in the slow consumer i config connection url is "tcp://127.0.0.1:61616?jms.prefetchPolicy.queuePrefetch=50".
      but the strange problem happends when i want send 200k 512 bytes size messages to borker through fast producer.
      when producer send messages start,the borker and the slow consumer memory useage grow very fast,after send 120k messages, the slow consumer take 80MB memory from at application start 18MB memory,and borker take 140MB memory, then borker slowing down,and totaly freeze.

      1. test.zip
        11 kB
        armgong

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            armgong
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development