On Wed, 2008-09-10 at 22:49 +0200, Cor Bosman wrote:
Since it's copying related, try running two instances of imaptest where one copies messages and another runs on the destination box:
./imaptest logout=0 copy=100 copybox=Trash ./imaptest box=Trash append=0
It took about 1.5 hours, but I got 1..running the above 2 tests at the same time.
Sep 10 22:06:41 imap dovecot: IMAP(scorpio): rename(/var/spool/mail/dovecot-control/indexes/s/sc/scorpio/.Trash/dovecot.index.cache.lock, /var/spool/mail/dovecot-control/indexes/s/sc/scorpio/.Trash/dovecot.index.cache) failed: No such file or directory Sep 10 22:06:41 imap dovecot: IMAP(scorpio): file_dotlock_replace() failed with index cache file /var/spool/mail/dovecot-control/indexes/s/sc/scorpio/.Trash/dovecot.index.cache: No such file or directory
Thats on an unpatched server.. default 1.1.2 code. It seems to be a very rare occurance.
Looks like I managed to reproduce it in about 5 minutes with the original cache timeouts. imaptest reported that several commands were hanging for over 60 seconds then. I'll try to figure out if this can be prevented.