Hi,

If it’s on NFS, what’s your rsize/wsize and sync mode enabled ?

Regards
JB

> Le 6 mai 2020 à 16:29, Jose Manuel Vega Monroy <[email protected]> 
> a écrit :
> 
> Hi there,
> 
> With broker 5.15.0-1.el7.centos, looking like master and slave both brokers 
> keeping DB locked with NFS remote share.
> 
> 2020-05-06 15:08:52,372 [main] INFO  (AbstractApplicationContext.java:583) - 
> Refreshing org.apache.activemq.xbean.XBeanBrokerFactory$1@5025a98f: startup 
> date [Wed May 06 15:08:52 BST 2020]; root of context hierarchy
> 2020-05-06 15:08:52,444 [main] INFO  (XmlBeanDefinitionReader.java:317) - 
> Loading XML bean definitions from class path resource [activemq.xml]
> 2020-05-06 15:08:52,909 [main] INFO  (XmlBeanDefinitionReader.java:317) - 
> Loading XML bean definitions from class path resource [jetty.xml]
> 2020-05-06 15:08:53,357 [main] INFO  (BrokerService.java:683) - Using 
> Persistence Adapter: KahaDBPersistenceAdapter[/mnt/sbm]
> 2020-05-06 15:08:59,463 [main] INFO  (SharedFileLocker.java:70) - Database 
> /mnt/sbm/lock is locked by another server. This broker is now in slave mode 
> waiting a lock to be acquired
> 
> Any idea why this could be happening?
> 
> Having in /etc/fstab:
> 
> <NFS_SERVER>:/<NFS_SHARE_NAME>/mnt/sbmnfstcp,rsize=32768,wsize=32768,intr,noatime,actimeo=3,vers=300
> 
> And config:
> 
>  <persistenceAdapter>
>            <kahaDB directory="/mnt/sbm"
>                    enableIndexWriteAsync="true"
>                    ignoreMissingJournalfiles="true"
>                    checkForCorruptJournalFiles="true"
>                    checksumJournalFiles="true"
>                    preallocationStrategy="zeros"
>            />
>        </persistenceAdapter>
> 
> Thanks
> 
> Confidentiality: The contents of this e-mail and any attachments transmitted 
> with it are intended to be confidential to the intended recipient; and may be 
> privileged or otherwise protected from disclosure. If you are not an intended 
> recipient of this e-mail, do not duplicate or redistribute it by any means. 
> Please delete it and any attachments and notify the sender that you have 
> received it in error. This e-mail is sent by a William Hill PLC group 
> company. The William Hill group companies include, among others, William Hill 
> PLC (registered number 4212563), William Hill Organization Limited 
> (registered number 278208), William Hill US HoldCo Inc, WHG (International) 
> Limited (registered number 99191) and Mr Green Limited (registered number 
> C43260). Each of William Hill PLC and William Hill Organization Limited is 
> registered in England and Wales and has its registered office at 1 Bedford 
> Avenue, London, WC1B 3AU, UK. William Hill U.S. HoldCo, Inc. is registered in 
> Delaware and has its registered office at 1007 N. Orange Street, 9 Floor, 
> Wilmington, New Castle County DE 19801 Delaware, United States of America. 
> WHG (International) Limited is registered in Gibraltar and has its registered 
> office at 6/1 Waterport Place, Gibraltar. Mr Green Limited is registered in 
> Malta and has its registered office at Tagliaferro Business Centre, Level 7, 
> 14 High Street, Sliema SLM 1549, Malta. Unless specifically indicated 
> otherwise, the contents of this e-mail are subject to contract; and are not 
> an official statement, and do not necessarily represent the views, of William 
> Hill PLC, its subsidiaries or affiliated companies. Please note that neither 
> William Hill PLC, nor its subsidiaries and affiliated companies can accept 
> any responsibility for any viruses contained within this e-mail and it is 
> your responsibility to scan any emails and their attachments. William Hill 
> PLC, its subsidiaries and affiliated companies may monitor e-mail traffic 
> data and also the content of e-mails for effective operation of the e-mail 
> system, or for security, purposes.

Reply via email to