You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Wassim Drira <Wa...@it-sudParis.eu> on 2011/01/14 08:53:56 UTC

KahaDB clean up causes activemq server shutdown

Hello,

I found that the server was consuming 100% of CPU for an hour after the last
log messages listed below. So kill the process.
What is the cause? and can you propose a solution?

regards,
Wassim

2011-01-14 06:49:00,598 | INFO  | Slow KahaDB access: cleanup took 2304 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:49:04,337 | INFO  | Slow KahaDB access: cleanup took 723 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:49:09,731 | INFO  | Slow KahaDB access: cleanup took 842 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:49:30,405 | INFO  | Slow KahaDB access: cleanup took 720 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:49:42,989 | INFO  | Slow KahaDB access: cleanup took 1766 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:49:51,666 | INFO  | Slow KahaDB access: cleanup took 4612 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:50:55,889 | INFO  | Slow KahaDB access: cleanup took 43913 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:51:24,162 | INFO  | Slow KahaDB access: cleanup took 27552 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:51:38,376 | INFO  | Slow KahaDB access: cleanup took 12650 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker
2011-01-14 06:51:53,599 | INFO  | Slow KahaDB access: cleanup took 13443 |
org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
Checkpoint Worker

Re: KahaDB clean up causes activemq server shutdown

Posted by Gary Tully <ga...@gmail.com>.
can you provide a thread dump of the process if this occurs again, pstack <pid>

On 14 January 2011 07:53, Wassim Drira <Wa...@it-sudparis.eu> wrote:
> Hello,
>
> I found that the server was consuming 100% of CPU for an hour after the last
> log messages listed below. So kill the process.
> What is the cause? and can you propose a solution?
>
> regards,
> Wassim
>
> 2011-01-14 06:49:00,598 | INFO  | Slow KahaDB access: cleanup took 2304 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:49:04,337 | INFO  | Slow KahaDB access: cleanup took 723 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:49:09,731 | INFO  | Slow KahaDB access: cleanup took 842 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:49:30,405 | INFO  | Slow KahaDB access: cleanup took 720 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:49:42,989 | INFO  | Slow KahaDB access: cleanup took 1766 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:49:51,666 | INFO  | Slow KahaDB access: cleanup took 4612 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:50:55,889 | INFO  | Slow KahaDB access: cleanup took 43913 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:51:24,162 | INFO  | Slow KahaDB access: cleanup took 27552 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:51:38,376 | INFO  | Slow KahaDB access: cleanup took 12650 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
> 2011-01-14 06:51:53,599 | INFO  | Slow KahaDB access: cleanup took 13443 |
> org.apache.activemq.store.kahadb.MessageDatabase | ActiveMQ Journal
> Checkpoint Worker
>



-- 
http://blog.garytully.com
http://fusesource.com