Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.0.0, 5.1.0
-
None
-
None
-
observed on Windows XP Professional SP2, Sun JDK 1.5.01_11, but probably affects all platforms
Description
ActiveMQ freezes in a test setup with very high message frequency of persistent messages and multiple producers and consumers running on multiple machines:
- Host 1: Multiple Producers send messages very fast to queue1
- Host 2: Multiple Processors consume message from queue1 and send a new message for each consumed message to queue2, also very fast.
- Host 3: ActiveMQ server and 1 consumer reads messages from queue2.
With producerFlowControl enabled, the system freezes very soon (a bit more than 1000 messages).
With producerFlowControl disabled, it seems to run longer at first, but it still freezes later.
Using transactions or not does not seem to make a difference.
See this thread in user mailing list for more details:
http://www.nabble.com/High-message-frequency-causes-ActiveMQ-to-freeze-to14919292s2354.html
See attachment for code of test cases and the batch files to start them.