[Dovecot] Dovecot write activity (mostly 1.1.x)

Timo Sirainen tss at iki.fi
Sun Nov 4 16:46:25 EET 2007

On Sun, 2007-11-04 at 15:27 +0100, mikkel at euro123.dk wrote:
> chown("[path]/Maildir/dovecot-uidlist", 105, -1) = 0
> stat64("[path]/Maildir/dovecot-uidlist", 0xFFBFF2F0) = 0
> stat64("[path]/Maildir/dovecot.index.log", 0xFFBFDAE0) = 0
> chown("[path]/Maildir/dovecot.index.log", 105, -1) = 0
> stat64("[path]/Maildir/dovecot.index.log", 0xFFBFDBF0) = 0
> What i notice is that stat64 is very often called twice in a row on the
> same file.
> Also I notice that chown() is always run before a file is accessed.
> Regarding chown it looks like dovecot either thinks that the file hasn't
> got the rights it should have, or it just calls chown anyway to be sure.

I'm not sure about the double stat(), but chown() most means you've set
mail_nfs_index=yes. I'll see if I can do something about the second
stat, but it's unlikely that it makes any difference to disk I/O.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071104/a55a0b80/attachment.bin 

More information about the dovecot mailing list