(dead)locking ...

Igor Brezac igor at ipass.net
Fri Nov 12 13:12:10 EST 2004



On Fri, 12 Nov 2004, Jure [ISO-8859-2] Pe_ar wrote:

> On Thu, 11 Nov 2004 08:49:38 -0500
> Ken Murchison <ken at oceana.com> wrote:
>
>> Try an strace/truss on the process and see what its doing.
>
> I did a strace on reconstruct to determine on which file it was locking and
> determined it's cyrus.header. Looking at the locking order in wiki I see the
> cyrus.header is the very fisrt file being locked. Now, how can I find the
> process that is holding the lock and that probably caused all this?

Use lsof.

> Last night I rebuilt mailboxes.db (which shrunk from 98mb to 64mb) and today
> everything was fine. This again points to some db as the source of the
> problem ...

This problem has been around for awhile (including 2.1).  I run into this 
issue when mua (ms outlook and pine) saves outgoing messages to another 
imap folder.  I took a brief look at the code, but nothing jumps out. 
There is an issue somewhere.

-- 
Igor
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list