Re: It costs time when stopping ActiveMQ

2018-03-08 Thread t-watana
Thanks for reply. I haven't investgate JVM yet. I'm using AMQ as follows conditions, is there a factor that is likely to take time? Conditions:  * Using MQTT (QoS=2)  * MQTT Client is Eclipse Paho 1.0.0  * Subscriber's CleanSession is false.  * Number of Subscribers is 1 over.  * Number of To

Re: It costs time when stopping ActiveMQ

2018-03-07 Thread Tim Bain
Anytime a JVM process (such as the ActiveMQ broker) is slow, my recommendation is to use JVisualVM to perform CPU sampling against the process to find out where the time is being spent. 20 minutes to shut down the process is a very long time, so I'll be interested to hear what you discover via tha