Re: Cyrus 3.0.8 longlocks and unexpunge

Javier Angulo <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>

On 12/5/18 8:51 AM, Egoitz Aurrekoetxea wrote:
> Good morning,
> 
> 
> I'm testing 3.0.8 Cyrus IMAP. I have seen that for instance, when you
> remove a couple of messages (with a vanila Roundcube webmail so IMAP,
> for instance) you cause a copy to the trash and a expunge in the INBOX.
> This operation takes very long comparing with older versions of Cyrus. I
> mean :
> 
> Dec  5 08:38:42 testenv imap[88161]: login: [172.22.0.1]
> [email protected] PLAIN User logged in
> SESSIONID=<testenv.sarenet.es-88161-1543995522-1-11027910885551741222>
> Dec  5 08:38:42 testenv squatter[20782]: indexing mailbox
> user/egoitz/[email protected]...
> Dec  5 08:38:42 testenv imap[88160]: Expunged 2 messages from
> sarenet.es!user.egoitz
> Dec  5 08:38:42 testenv imap[88160]: Repacking mailbox
> sarenet.es!user.egoitz version 10
> Dec  5 08:38:42 testenv squatter[20782]: Xapian committed 2 updates in
> 0.049130 sec
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/PLAIN
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/CALENDAR
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/PLAIN
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/CALENDAR
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/PLAIN
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/CALENDAR
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/PLAIN
> Dec  5 08:38:43 testenv imap[88160]: message_parse_charset: unknown
> charset RCMAIL_CHARSET for text/CALENDAR
> *Dec  5 08:39:02 testenv imap[88160]: mailbox: longlock
> sarenet.es!user.egoitz for 19.9 seconds*
> Dec  5 08:39:02 testenv imap[88160]: USAGE [email protected] user:
> 8.469829 sys: 0.584660
> 
> Is this a normal or expected behavior?.
> 
> By the way, I have configured :
> 
> expunge_mode: delayed
> delete_mode: delayed
> deletedprefix: DELETED
> 
> But now, if I do :
> 
> % /usr/local/cyrus/sbin/unexpunge -lv user/[email protected]
> %
> 
> So, no results... unexpunge gives an error for instance if the mailbox
> does not exist....
> 
> 
> Why this last problem can happen?. Why it could take so long to perform
> the removal of the last commented messages?.
> 


Hi Egoitz,

from this line:
> Dec  5 08:38:42 testenv imap[88160]: Repacking mailbox
> sarenet.es!user.egoitz version 10

it seems that you have not run a reconstruct on the mailbox (should be
version 13 on cyrus 3.0)

try:
reconstruct -V max user/[email protected]

As you are probably coming from cyrus version 2.3 reconstruct is going
to take a long time ...

I guess the unexpunge problem is also related and you need to
reconstruct the mailbox.

Cheers,
Javier
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.