FYI: Some 'fun' unlinks with random memory space references
Jeroen Massar
jeroen at massar.ch
Fri Apr 10 10:05:50 UTC 2015
Hola,
Dovecot: 2.2.16 (6bde7868cffd)
That is the rename-it 2:2.2.16-1~auto+43 edition.
In the beginning of syncing it caused scary things like:
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(OX/dbox-Mails/u.10672) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(ox/mailboxes/INBOX/dbox-Mails/u.10927) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(OX/dbox-Mails/u.10839) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(OX/dbox-Mails/u.10656) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(11147) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(OX/dbox-Mails/u.10637) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(OX/dbox-Mails/u.10807) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(<80><A5><C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(<B0><A6><C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(<E0><A7><C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(#020<A9><C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(@<AA><C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(p<AB><C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(<A0><AC><C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink(Э<C8>) failed: No such file or directory
Apr 9 16:24:08 mail dovecot: dsync-server(username): Error: unlink() failed: No such file or directory
Might want to put a check before that unlink that nothing dirty is in the buffer...
I would not be surprised if this was related to a broken index, as the other side effect I saw during this sync was an ever-expanding maildir (read: sdbox), multiplying itself during sync, keeping large amounts of the the .temp.<xxxx> in the dir, never moving them to a final directory.
That was resolved by stopping dovecot, then deleting the broken sdbox (backups++) and performing a 'dovecot force-resync -u user Folder' on the source.
Maybe there was a race somewhere while syncing the large amount of data over; seems that everything is okay now though.
Greets,
Jeroen
More information about the dovecot
mailing list