On 14.5.2007, at 17.54, Ralf Hildebrandt wrote:

One, just one (!) of our users gets:

May 14 16:47:17 postamt dovecot: imap-login: Login: user=<username>, method=PLAIN, rip=141.42.x.y, lip=ip.of.the.server May 14 16:47:17 postamt dovecot: imap-login: Login: user=<username>, method=PLAIN, rip=141.42.x.y, lip=ip.of.the.server May 14 16:47:17 postamt dovecot: IMAP(username): maildir_file_do(/ var/admhome/username/Maildir) racing

This happens at every login? I thought I'd never see this racing error. It means that Dovecot tried to some operation to a maildir file. But the operation failed, because the file was just renamed (eg. flag changed). So it located the file again, and found it. Then it tried the operation again, but it failed the same way. This was tried 10 times until it gave this "racing" error.

I think it's a bit unlikely that the filename was changing that fast. So there's probably a bug somewhere.. Could get strace output from those two logins and send them to me? You can do this with eg.:

mail_executable = /usr/local/bin/run-imap.sh

run-imap.sh:

#!/bin/sh
exec strace -tt -s 1000 -o /tmp/imap.$USER.`time +%u`.$$.log /usr/ local/libexec/dovecot/imap

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to