activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Mielke <tors...@fusesource.com>
Subject Re: Store is locked... waiting 10 seconds
Date Wed, 22 Aug 2012 13:58:23 GMT
What version of ActiveMQ is your user using? If its any later version, i.e. 5.5.0 or higher,
I suggest switching to KahaDB as the persistence adapter.



Torsten Mielke
torsten@fusesource.com
tmielke@blogspot.com




On Aug 21, 2012, at 8:02 AM, Jamie wrote:

> Hi Everyone
> 
> A user is complaining about his application logs being filled up with "Store is locked...
waiting 10 seconds". The KahaPersistenceAdapter seems to be having trouble obtaining a lock.
I am using an embedded broker, but the broker is only ever started once. I am quite sure of
this. The only other scenario I can think of, aside from a possible bug, is that the customer
shutdown the application uncleanly and a lock file was left lying around. Has anyone else
encountered this situation? Where else should I be looking to solve this. Any ideas?
> 
> Much appreciate
> 
> Jamie
> 
> 2012-08-20 17:10:39 [localhost-startStop-1] INFO
> o.a.activemq.kaha.impl.KahaStore - Kaha Store using data directory
> /var/opt/mailarchiva/ROOT/queue/kaha
> 2012-08-20 17:10:39 [localhost-startStop-1] INFO
> o.a.a.s.k.KahaPersistenceAdapter - Store is locked... waiting 10 seconds
> for the Store to be unlocked.
> 2012-08-20 17:10:49 [localhost-startStop-1] INFO
> o.a.activemq.kaha.impl.KahaStore - Kaha Store using data directory
> /var/opt/mailarchiva/ROOT/queue/kaha
> 2012-08-20 17:10:49 [localhost-startStop-1] INFO
> o.a.a.s.k.KahaPersistenceAdapter - Store is locked... waiting 10 seconds
> for the Store to be unlocked.
> 2012-08-20 17:10:59 [localhost-startStop-1] INFO
> o.a.activemq.kaha.impl.KahaStore - Kaha Store using data directory
> /var/opt/mailarchiva/ROOT/queue/kaha
> 2012-08-20 17:10:59 [localhost-startStop-1] INFO
> o.a.a.s.k.KahaPersistenceAdapter - Store is locked... waiting 10 seconds
> for the Store to be unlocked.
> 2012-08-20 17:11:09 [localhost-startStop-1] INFO
> o.a.activemq.kaha.impl.KahaStore - Kaha Store using data directory
> /var/opt/mailarchiva/ROOT/queue/kaha
> 2012-08-20 17:11:09 [localhost-startStop-1] INFO
> o.a.a.s.k.KahaPersistenceAdapter - Store is locked... waiting 10 seconds
> for the Store to be unlocked.
> 2012-08-20 17:11:19 [localhost-startStop-1] INFO
> o.a.activemq.kaha.impl.KahaStore - Kaha Store using data directory
> /var/opt/mailarchiva/ROOT/queue/kaha
> 2012-08-20 17:11:19 [localhost-startStop-1] INFO
> o.a.a.s.k.KahaPersistenceAdapter - Store is locked... waiting 10 seconds
> for the Store to be unlocked.
> 


Mime
View raw message