Re: Hung ActiveMQ broker and processes are blocking

2014-01-07 Thread artnaseef
I need to research the "used heap size" to understand what are the right numbers that way. Using jconsole or visualvm, the total heap size is displayed and graphed in an easy-to-use format, and the total never exceeds the max (when it hits, GC kicks in). BTW, another great tool for looking at JVM

Re: Hung ActiveMQ broker and processes are blocking

2014-01-07 Thread artnaseef
The broker runs inside a JVM. If the JVM runs out of memory, the broker is impacted. -- View this message in context: http://activemq.2283324.n4.nabble.com/Hung-ActiveMQ-broker-and-processes-are-blocking-tp4675874p4676081.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: Hung ActiveMQ broker and processes are blocking

2014-01-07 Thread artnaseef
According to this page, http://stackoverflow.com/questions/3334911/what-does-jvm-flag-cmsclassunloadingenabled-actually-do, the following is also needed for permgen sweeping to work: -XX+UseConcMarkSweepGC We are using that one as well. -- View this message in context: http://activemq.2283

Re: Hung ActiveMQ broker and processes are blocking

2014-01-07 Thread Rodrigo Ramos
GC is JVM option, so, It should not affect the broker. 2014/1/7 khandelwalanuj > I checked the usage and also increased the heap size for my broker. > > But will you please let me know about "enabling permgen space garbage > collection". How to do it and are there any side effects after this ?

Re: Hung ActiveMQ broker and processes are blocking

2014-01-06 Thread khandelwalanuj
One more thing. While my broker was hung, my total used heap is exceeded max heap size. I don;t understand why ? I calculated heap using "JMAP -heap PID" command. where: used heap size = used (PS Old Generation) + used(Eden Space) how can this value be more than maxHeapSpace ? Thanks, Anuj

Re: Hung ActiveMQ broker and processes are blocking

2014-01-06 Thread khandelwalanuj
I checked the usage and also increased the heap size for my broker. But will you please let me know about "enabling permgen space garbage collection". How to do it and are there any side effects after this ? Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com

Re: Hung ActiveMQ broker and processes are blocking

2014-01-06 Thread artnaseef
Have you checked the memory use of the process? Use a JMX client (such as jconsole or visualvm) to watch the memory use on the broker until it freezes. Watch permgen space and heap space especially. High connection counts point to a possible permgen space issue. Most commonly the entire broker

Re: Hung ActiveMQ broker and processes are blocking

2014-01-02 Thread xabhi
I looked at stack trace and it has something to do with inactivity monitor. Some one from ActiveMQ development team can help us here. -- View this message in context: http://activemq.2283324.n4.nabble.com/Hung-ActiveMQ-broker-and-processes-are-blocking-tp4675874p4675967.html Sent from the Activ

Re: Hung ActiveMQ broker and processes are blocking

2014-01-02 Thread khandelwalanuj
Please respond... -- View this message in context: http://activemq.2283324.n4.nabble.com/Hung-ActiveMQ-broker-and-processes-are-blocking-tp4675874p4675928.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.