<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Did you run reconstruct like the upgrade documentation recommends?</div>
<div class=""><br class="">
</div>
<div class="">When I did my upgrade, from 2.4.x to 2.5 that's about all I had to do. I don't recall having to run ctl_mboxlist -du </div>
<div class=""><br class="">
</div>
<div class=""><a href="https://www.cyrusimap.org/docs/cyrus-imapd/2.5.0/install-upgrade.php" class="">https://www.cyrusimap.org/docs/cyrus-imapd/2.5.0/install-upgrade.php</a></div>
<div class=""><br class="">
</div>
<div class=""><a href="http://www.cyrusimap.org/~vanmeeuwen/imap/release-notes/2.5.0.html" class="">http://www.cyrusimap.org/~vanmeeuwen/imap/release-notes/2.5.0.html</a></div>
<div class=""><br class="">
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 17, 2016, at 5:00 AM, Deniss via Info-cyrus <<a href="mailto:info-cyrus@lists.andrew.cmu.edu" class="">info-cyrus@lists.andrew.cmu.edu</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">Hello,<br class="">
<br class="">
I trying to migrate one big cyrus imap server from 2.4 to 2.5.9.<br class="">
<br class="">
I updated binaries, fix db backend in imapd.conf and converted<br class="">
mailboxes.db with ctl_mboxlist -d & -u to twoskip.<br class="">
<br class="">
cyrus ran fine until morning when a count of simultanious sessions<br class="">
started to rise.<br class="">
<br class="">
then imapd processes become locked on mailboxes.db when logs show<br class="">
something like<br class="">
Nov 17 08:04:21 srv1 imap[11019]: cmdtimer: '<a href="mailto:yo@mail.xxx" class="">yo@mail.xxx</a>' 'list'<br class="">
'<none>' '46.741322' '0.000000' '46.741322'<br class="">
Nov 17 08:04:21 srv1 imap[11019]: buf: A1 LIST "" "*"<br class="">
<br class="">
I converted mailboxes.db back to skiplist and got a bunch (10-20 per<br class="">
sec) of following logs:<br class="">
<br class="">
Nov 17 09:59:09 srv1 imap[5352]: skiplist: longlock<br class="">
/var/imap/mailboxes.db for 177.7 seconds<br class="">
Nov 17 09:59:09 srv1 imap[6760]: skiplist: longlock<br class="">
/var/imap/mailboxes.db for 169.7 seconds<br class="">
Nov 17 09:59:09 srv1 imap[6764]: skiplist: longlock<br class="">
/var/imap/mailboxes.db for 171.7 seconds<br class="">
Nov 17 09:59:09 srv1 imap[5230]: skiplist: longlock<br class="">
/var/imap/mailboxes.db for 171.8 seconds<br class="">
Nov 17 09:59:09 srv1 imap[5251]: skiplist: longlock<br class="">
/var/imap/mailboxes.db for 203.2 seconds<br class="">
Nov 17 09:59:09 srv1 imap[5221]: skiplist: longlock<br class="">
/var/imap/mailboxes.db for 168.9 seconds<br class="">
<br class="">
<br class="">
then I rolled back to cyrus 2.4 (converting mailboxes.db back to old<br class="">
format) and the server started to work just fine again.<br class="">
<br class="">
I run 8core 16gb box with mailboxes.db on SSD disk, noswap,<br class="">
Linux 4.4.8-hardened glibc-2.20 x86_64-pc-linux-gnu-4.8.4 on Gentoo<br class="">
<br class="">
mailboxes.db is ~200Mb depending of format<br class="">
135M /var/imap/mailboxes.plain<br class="">
180M /var/imap/mailboxes.db.skiplist.24<br class="">
215M /var/imap/mailboxes.db.skiplist.25<br class="">
262M /var/imap/mailboxes.db.twoskip.25<br class="">
<br class="">
Any ideas or suggestion for investigation ?<br class="">
<br class="">
Best,<br class="">
Deniss<br class="">
----<br class="">
Cyrus Home Page: <a href="http://www.cyrusimap.org/" class="">http://www.cyrusimap.org/</a><br class="">
List Archives/Info: <a href="http://lists.andrew.cmu.edu/pipermail/info-cyrus/" class="">
http://lists.andrew.cmu.edu/pipermail/info-cyrus/</a><br class="">
To Unsubscribe:<br class="">
<a href="https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus" class="">https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus</a><br class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</body>
</html>