Fix Random LockFailException: Too many waiters error

The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Fix Random LockFailException: Too many waiters error

   KB 22040        Last updated on 2015-07-11  




0.00
(0 votes)

Purpose

A network service error has occurred com.zimbra.cs.mailbox.MailboxLock$LockFailedException: too many waiters

You will see the next error in the log:

"com.zimbra.cs.mailbox.MailboxLock$LockFailedException: too many waiters: 15
 at com.zimbra.cs.mailbox.MailboxLock.lock(MailboxLock.java:187)
 at com.zimbra.cs.mailbox.Mailbox.beginTransaction(Mailbox.java:1710)
 at com.zimbra.cs.mailbox.Mailbox.beginReadTransaction(Mailbox.java:1686)"

Resolution

The solution is increase the attribute "zimbra_mailbox_lock_max_waiting_threads" value :

su - zimbra
zmlocalconfig -e zimbra_mailbox_lock_max_waiting_threads=30
zmmailboxdctl restart

Additional Content

  • No related content


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 06/12/2015
Article ID: https://wiki.zimbra.com/index.php?title=Fix_Random_LockFailException:_Too_many_waiters_error Date Modified: 2015-07-11



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by SME1 SME2 Copyeditor Last edit by Jorge de la Cruz
Jump to: navigation, search