Hi Timo and All, please take care of this trace. It seems that dovecot.uidlist's increase its size (8056 from stat and from read and then 14641 with stat) while delivering and then it tries to look for duplicates.
I hope this helps, duplicates problem is becoming big. Can I check or trace something else?
Luca
open("/virtual1/unict.it/a/account//Maildir/dovecot-uidlist", O_RDWR|O_LARGEFILE) = 17 _llseek(17, 0, [0], SEEK_SET) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=8056, ...}) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=8056, ...}) = 0 pread64(17, "3 V1264536006 N2107 Gc56f442c6771"..., 4096, 0) = 4096 pread64(17, "8340P4605.mailcl-mbox1,S=19935,W="..., 4076, 4096) = 3960 pread64(17, ""..., 116, 8056) = 0 time(NULL) = 1283846418 umask(0133) = 077 time(NULL) = 1283846418 lstat64("/virtual1/unict.it/a/account//Maildir/dovecot-uidlist.lock", 0xbfd07bcc) = -1 ENOENT (No such file or directory) umask(0666) = 0133 lstat64("/virtual1/unict.it/a/account//Maildir/temp.mailcl-mbox2.31697.74d7957105ba8895", 0xbfd07bc4) = -1 ENOENT (No such file or directory) umask(0133) = 0666 open("/virtual1/unict.it/a/account//Maildir/temp.mailcl-mbox2.31697.74d7957105ba8895", O_RDWR|O_CREAT|O_EXCL|O_LARGEFILE, 0666) = 20 umask(0666) = 0133 umask(0133) = 0666 write(20, "31697:mailcl-mbox2"..., 18) = 18 link("/virtual1/unict.it/a/account//Maildir/temp.mailcl-mbox2.31697.74d7957105ba8895", "/virtual1/unict.it/a/account//Maildir/dovecot-uidlist.lock") = 0 unlink("/virtual1/unict.it/a/account//Maildir/temp.mailcl-mbox2.31697.74d7957105ba8895") = 0 fstat64(20, {st_mode=S_IFREG|0644, st_size=18, ...}) = 0 close(20) = 0 lstat64("/virtual1/unict.it/a/account//Maildir/dovecot-uidlist.lock", {st_mode=S_IFREG|0644, st_size=18, ...}) = 0 umask(077) = 0133 stat64("/virtual1/unict.it/a/account//Maildir/dovecot-uidlist", {st_mode=S_IFREG|0644, st_size=8056, ...}) = 0 _llseek(17, 0, [0], SEEK_SET) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=8056, ...}) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=8056, ...}) = 0 pread64(17, ""..., 4096, 8056) = 0 alarm(180) = 0 fcntl64(15, F_SETLKW64, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}, 0xbfd07c64) = 0 alarm(0) = 180 stat64("/virtual1/unict.it/a/account//Maildir/dovecot.index.log", {st_mode=S_IFREG|0644, st_size=2836, ...}) = 0 fstat64(15, {st_mode=S_IFREG|0644, st_size=2836, ...}) = 0 open("/virtual1/unict.it/a/account//Maildir/new", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 20 fstat64(20, {st_mode=S_IFDIR|0700, st_size=1848, ...}) = 0 fstat64(20, {st_mode=S_IFDIR|0700, st_size=1848, ...}) = 0 time(NULL) = 1283846418 getdents64(20, /* 3 entries */, 4096) = 120 getdents64(20, /* 0 entries */, 4096) = 0 close(20) = 0 open("/virtual1/unict.it/a/account//Maildir/cur", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 20 fstat64(20, {st_mode=S_IFDIR|0700, st_size=10240, ...}) = 0 fstat64(20, {st_mode=S_IFDIR|0700, st_size=10240, ...}) = 0 time(NULL) = 1283846418 getdents64(20, /* 29 entries */, 4096) = 2200 getdents64(20, /* 27 entries */, 4096) = 2160 getdents64(20, /* 24 entries */, 4096) = 1912 getdents64(20, /* 21 entries */, 4096) = 1680 getdents64(20, /* 6 entries */, 4096) = 480 getdents64(20, /* 0 entries */, 4096) = 0 close(20) = 0 _llseek(17, 0, [8056], SEEK_END) = 0 _llseek(17, 0, [8056], SEEK_CUR) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=8056, ...}) = 0 write(17, "2145 :1268504260.V811I106f6056M46"..., 6585) = 6585 fdatasync(17) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=14641, ...}) = 0 time(NULL) = 1283846418 stat64("/virtual1/unict.it/a/account//Maildir/dovecot-uidlist", {st_mode=S_IFREG|0644, st_size=14641, ...}) = 0 _llseek(17, 0, [0], SEEK_SET) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=14641, ...}) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=14641, ...}) = 0 pread64(17, ""..., 4096, 14641) = 0 stat64("/virtual1/unict.it/a/account//Maildir/dovecot-uidlist", {st_mode=S_IFREG|0644, st_size=14641, ...}) = 0 _llseek(17, 0, [0], SEEK_SET) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=14641, ...}) = 0 fstat64(17, {st_mode=S_IFREG|0644, st_size=14641, ...}) = 0 pread64(17, ""..., 4096, 14641) = 0
On 09/06/2010 04:42 PM, Timo Sirainen wrote:
On Mon, 2010-09-06 at 11:11 +0200, Luca Palazzo wrote:
Sep 6 10:51:31 10.97.1.33 dovecot: imap(xxxxxx@unict.it): Warning: /virtual1/unict.it/g/xxxxxx//Maildir/dovecot-uidlist: Duplicate file entry at line 883: 1277948239.M332097P873
Hmmh. See if http://hg.dovecot.org/dovecot-2.0/rev/e2a267b64619 changes the behavior?