Random deadlocks with cyrus-imapd-2.1.14

Gary Mills mills at cc.umanitoba.ca
Thu Sep 22 09:07:07 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.
> > If I try to run the db_stat utility, it also blocks.  These
> > deadlocks happen quite randomly, sometimes months apart, but
> > sometimes only days.  The server is a 4-CPU Sun 480 running
> > Solaris 9.  I haven't seen reports of anyone else having this
> > problem.
> 
> Perhaps the cause is bug #1270:
> https://bugzilla.andrew.cmu.edu/show_bug.cgi?id=1270

Thanks.  I'll have a look at that bug report.

> 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

Thanks.  I had planned to upgrade, but I wasn't sure if the upgrade would
fix the problem.  Now I know what to do.

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



More information about the Info-cyrus mailing list