activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SelvarajAM <>
Subject Activemq broker hangs when stomp client disconnects unexpectedly
Date Tue, 10 Nov 2009 13:26:28 GMT


I am using embedded Activemq broker (5.3 Version), Flex client and STOMP
protocol for the communication.

The problem is,

When unexpected error occurs in the Flex client, Activemq broker  memory
usage increases gradually and then it hangs giving the following message in
the log file

Memory usage change from: 1% of available memory, to: 2% of available memory
Memory usage change from: 99% of available memory, to: 100% of available

Usage Manager memory limit reached for topic://a. Producers will be
throttled to the rate at which messages are removed from this destination to
prevent flooding it. See for more info

Below is the xml configuration we use


        The <broker> element is used to configure the ActiveMQ broker. 
    <broker xmlns=""
persistent="false" useJmx="true"  brokerName="PRI" >
			<transportConnector name="Stomp" uri="stomp://"/>
			<transportConnector name="Nio" uri="nio://"/>
			<transportConnector name="Tcp" uri="tcp://"/>

We use NON-PERSISTENT messages and send to topic. The client listens to the
topic and process the message.

The jconsole shows the broker MemoryPercentUsage as 100% when activemq

Why does an error in client crashes the Activemq server??? Do anyone face
the same issue??

Only restarting the broker helps.
I haved changed a lot of modification in the xml configuration but could not
find the root cause.

Kindly help me on this as this is a production issue.  

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message