Re: cyrus-imapd v2.4.2 on CentOS issue with deleting users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 11/2/10 5:42 PM, Bron Gondwana wrote:

Ok - your IMAP client was holding the lock open so the cleanup didn't
finish.  Basically 2.4.x delays deletion of a mailbox until all the
current users have closed it - which is why the files were still
around.  This may be pretty broken with subfolders when deleting an
entire user though - I'll have to think about it for a bit...
This sounds correct. lsof showed that imapd had files open within the folders that I was trying to delete. As soon as I closed my email client, lsof no longer showed imapd with those open files, and the files and directories were gone.
Basically, it was correct to refuse to recreate the mailbox because
the old mailbox was still held open by another connection.  I'm
leaning towards adding "kill currently open connections for this
user" logic inside Cyrus actually, because replication failover and
murder XFER have similar issues with a still-open connection existing
as they clean up.

Bron.

Bron.

begin:vcard
fn:Robert Spellman
n:Spellman;Robert
org:Bates College;Information and Library Services
adr;dom:;;110 Russell Street;Lewiston;Maine;04240
email;internet:rspell@xxxxxxxxx
title:Assistant Director of Network Services
tel;work:207-786-6422
note:01000111011011110010000001010010011001010110010001010011011011110111100000100001
url:http://www.bates.edu/
version:2.1
end:vcard

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux