Cyrus 3.0.8 longlocks and unexpunge

egoitz at sarenet.es egoitz at sarenet.es
Thu Dec 6 02:06:32 EST 2018


Hi Javier!!

Thanks a Lot !! I’ll try it. I was wondering if reconstruct could be running the same time as the other services... you know, if you have a medium-Big sized server... could take a long time and for avoiding service disruptions...

Cheers,

Egoitz,

> El 5 dic 2018, a las 10:45, Javier Angulo <javier at jangulo.net> escribió:
> 
> 
> 
>> 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]
>> egoitz at sarenet.es PLAIN User logged in
>> SESSIONID=<testenv.sarenet.es-88161-1543995522-1-11027910885551741222>
>> Dec  5 08:38:42 testenv squatter[20782]: indexing mailbox
>> user/egoitz/Papelera at sarenet.es...
>> 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 egoitz at sarenet.es 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/egoitz at sarenet.es
>> %
>> 
>> 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/egoitz at sarenet.es
> 
> 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


More information about the Info-cyrus mailing list