Random deadlocks with cyrus-imapd-2.1.14

Gary Mills mills at cc.umanitoba.ca
Fri Sep 23 14:36:00 EDT 2005


On Thu, Sep 22, 2005 at 11:24:19AM +0300, Konstantinos Koukopoulos wrote:
> On Thu 22 Sep 2005 01:58, Gary Mills wrote:
> > We are running cyrus-imapd-2.1.14, using db-3.1.17 for the
> > deliver.db and tls_sessions.db.  Lately, we've been getting
> > deadlocks that stall mail delivery.  When they happen, all of
> > the lmtpd processes are blocked waiting to acquire a lock.
> 
> Perhaps the cause is bug #1270:
> https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1270
> 
> In that case it was resolved in the 2.2 branch although the fix might not be 
> in the version you're using. I've backported the fix to the 2.1.18 cyrus 
> source; maybe it will be of use to you: 
> http://email.uoa.gr/download/cyrus/cyrus-imapd-2.1.18/cyrus-imapd-2.1.18.quotalock.diff

With a minor exception, your patch applies cleanly to
cyrus-imapd-2.1.14.  The patched version compiles with no problems and
runs nicely on my test server.  I'm quite optimistic that this will
solve this most annoying problem.  Thanks very much for the patch.
Two days ago, I had no hope.  Today, I have two choices.  I'm trying
the easy one first.

-- 
-Gary Mills-    -Unix Support-    -U of M Academic Computing and Networking-



More information about the Info-cyrus mailing list