activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurav Sharma <gaurav.cs.sha...@gmail.com>
Subject Re: Sounds like ActiveMQ still hangs after memory increase
Date Mon, 27 Aug 2012 16:35:41 GMT
That's a lot of threads. You might wanna turn off the dedicated task runner
via either the activemq connection factory (in code) or via config (
http://activemq.apache.org/how-do-i-configure-10s-of-1000s-of-queues-in-a-single-broker-.html
).

A couple of questions from the thread dump analysis:
1. how many processors/cores do your machines have?
2. are your clients (producers/consumers) local to the broker on the same
machine but different process?
3. looking at the oracle-ds settings in config, is the same machine also
hosting oracle?
4. what nic does the machine have?


On Mon, Aug 27, 2012 at 12:38 AM, Tlholoe, Peter <PTlholoe@fnb.co.za> wrote:

> Hi Gaurav,
> I did take thread dumps during hang, and after the fact. I have attached
> 10 thread dump file. T1dump -t7dump are during the hang and t7dump to
> t10dump are after the hang period.
>
> -----Original Message-----
> From: Gaurav Sharma [mailto:gaurav.cs.sharma@gmail.com]
> Sent: 27 August 2012 08:33 AM
> To: users@activemq.apache.org
> Cc: users@activemq.apache.org
> Subject: Re: Sounds like ActiveMQ still hangs after memory increase
>
> When the process hangs, please take a thread dump (kill -3) and
> pastebin/gist and share so folks on here can help. Also, how did you
> determine that it hangs - no log activity, jmx response, etc?
>
> By the way, 1-2gigs of heap is not very large these days not that you
> should just up it but just fyi.
>
> On Aug 26, 2012, at 23:14, "Tlholoe, Peter" <PTlholoe@fnb.co.za> wrote:
>
> > Good Day,
> > We have increased the maximum heap size of the JVM started by ActiveMQ
> to 2048mb, and set the systemUsage memoryLimit to 1280 (70% of the total
> max heap size). We have also set the per destination policy. For topics
> (“>”) since they are heavily used we have set the memoryLimit to 512 and
> 128 mb for Queues (“>”). And we have also disabled producer flow control.
> Can it be something else ?. We are using ActiveMQ 5.4.2
> >
> > I have attached our activemq.xml
> > To read FirstRand Bank's Disclaimer for this email click on the
> following address or copy into your Internet browser:
> > https://www.fnb.co.za/disclaimer.html
> >
> > If you are unable to access the Disclaimer, send a blank e-mail to
> firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the
> Disclaimer.
> > <activemq.xml>
>
> To read FirstRand Bank's Disclaimer for this email click on the following
> address or copy into your Internet browser:
> https://www.fnb.co.za/disclaimer.html
>
> If you are unable to access the Disclaimer, send a blank e-mail to
> firstrandbankdisclaimer@fnb.co.za and we will send you a copy of the
> Disclaimer.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message