On Thu, 2008-09-11 at 11:11 +0300, Timo Sirainen wrote:
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.
This should fix it: http://hg.dovecot.org/dovecot-1.1/rev/7772018e917c
I'll still do some small tweaks for the cache locking code.