[Dovecot] dsync duplicates messages/crashed if a 'large' number of messages has been deleted

Matthias Rieber ml-dovecot at zu-con.org
Sat Jul 10 15:06:46 EEST 2010


I try to mirror two dovecots with:

dsync -v -f -u login mirror ssh -o 
IdentityFile=/etc/dovecot/dsync.d/id_rsa root at shrike dsync -u login

This usually works, but if I delete a certain number of emails, I get 
this messages:

dsync-local(mailverwalter): Info: Posteingang: Ignored 178 modseq changes
dsync-local(mailverwalter): Info: Posteingang: Couldn't keep all uids
dsync-local(mailverwalter): Warning: Mailbox changes caused a desync. 
You may want to run dsync again.

after a second try I get:

dsync-local(mailverwalter): Panic: dsync brain state=10
dsync-local(mailverwalter): Error: Raw backtrace: 
/usr/local/lib/dovecot/libdovecot.so.0 [0xf7e44541] ->
[0xf7e4466e] -> /usr/local/lib/dovecot
/libdovecot.so.0(i_error+0) [0xf7e44878] -> dsync [0x804f4d6] -> dsync 
[0x80537c7] -> dsync [0x8053a82] -
 > /usr/local/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xf5) 
[0xf7e50bc5] -> /usr/local/lib/dovecot
/libdovecot.so.0(io_loop_run+0x30) [0xf7e4fc10] -> 
run+0x2a) [0xf7e3d29a] -> dsync(main+0x732) [0x804db32] -> 
/lib/libc.so.6(__libc_start_main+0xe5) [0xf7cd
1455] -> dsync [0x804d0c1]


More information about the dovecot mailing list