[Dovecot] dsync/imapc migration question
Doing an imapc migration with the pop3 migration plugin, using doveadm backup -R.
I occasionally get the following output:
dsync(user@domain.tld): Error: imapc(mail01.domain.tld:143): Server disconnected unexpectedly dsync(user@domain.tld): Error: imapc(mail01.domain.tld:143): Server disconnected unexpectedly dsync(user@domain.tld): Error: imapc(mail01.domain.tld:143): Server disconnected unexpectedly dsync(user@domain.tld): Warning: I/O leak: 0xb7648650 (line 1229, fd 10) dsync(user@domain.tld): Warning: I/O leak: 0xb7648650 (line 1229, fd 11) dsync(user@domain.tld): Warning: Timeout leak: 0xb76488b0 (line 1316) dsync(user@domain.tld): Warning: Timeout leak: 0xb76488b0 (line 1316)
The source server is really crappy, no need to look at the dovecot side for causes. My question is: is it possible that the migration did complete successfully? Dovecot does seem to continue and it's kind of vague on what went wrong, and did it re-try. This operation can take several hours on large mailboxes so this question is really meaningful in my case. (I'd try with -D but it's really hard to reproduce this on demand).
Thanks
Gedalya
On 1.7.2013, at 19.02, Gedalya gedalya@gedalya.net wrote:
Doing an imapc migration with the pop3 migration plugin, using doveadm backup -R.
I occasionally get the following output:
dsync(user@domain.tld): Error: imapc(mail01.domain.tld:143): Server disconnected unexpectedly dsync(user@domain.tld): Error: imapc(mail01.domain.tld:143): Server disconnected unexpectedly dsync(user@domain.tld): Error: imapc(mail01.domain.tld:143): Server disconnected unexpectedly dsync(user@domain.tld): Warning: I/O leak: 0xb7648650 (line 1229, fd 10) dsync(user@domain.tld): Warning: I/O leak: 0xb7648650 (line 1229, fd 11) dsync(user@domain.tld): Warning: Timeout leak: 0xb76488b0 (line 1316) dsync(user@domain.tld): Warning: Timeout leak: 0xb76488b0 (line 1316)
The source server is really crappy, no need to look at the dovecot side for causes. My question is: is it possible that the migration did complete successfully? Dovecot does seem to continue and it's kind of vague on what went wrong, and did it re-try. This operation can take several hours on large mailboxes so this question is really meaningful in my case. (I'd try with -D but it's really hard to reproduce this on demand).
I think imapc automatically reconnects and retries the command. In any case you should retry if dsync returns non-zero exit code.
(The I/O and timeout leaks don't really matter, but they are also finally fixed in v2.2.3+.)
I think imapc automatically reconnects and retries the command. In any case you should retry if dsync returns non-zero exit code.
(The I/O and timeout leaks don't really matter, but they are also finally fixed in v2.2.3+.) Yes, I already adjusted the calling code (massive perl script) to ignore
On 07/10/2013 02:49 AM, Timo Sirainen wrote: the leak messages, and of course look at the exit code. So, you're saying impac reconnects. I guess there is doing to be an error on top of "Server disconnected unexpectedly" if there was something irrecoverable. So can I just code that in? Or should I look only at the exit code? I'm being paranoid here, I know..
On 10.7.2013, at 19.10, Gedalya gedalya@gedalya.net wrote:
On 07/10/2013 02:49 AM, Timo Sirainen wrote:
I think imapc automatically reconnects and retries the command. In any case you should retry if dsync returns non-zero exit code.
(The I/O and timeout leaks don't really matter, but they are also finally fixed in v2.2.3+.) Yes, I already adjusted the calling code (massive perl script) to ignore the leak messages, and of course look at the exit code. So, you're saying impac reconnects. I guess there is doing to be an error on top of "Server disconnected unexpectedly" if there was something irrecoverable. So can I just code that in? Or should I look only at the exit code? I'm being paranoid here, I know..
Exit code 0 should be enough (if not, it's a bug and I'd like to know), but it's good to be paranoid. :)
participants (2)
-
Gedalya
-
Timo Sirainen