Replication problem

Teemu Huovila teemu.huovila at dovecot.fi
Wed Sep 10 09:56:49 UTC 2014


On 09/10/2014 02:04 AM, Vincent ETIENNE wrote:
> After some digging, the problem is this 600 seconds timeout that in my
> case is unsuffisant to transfer one big mail. So retry and ..; same
> result.. and again and again
> 
> I have verify with strace that data is exchange continuously during the
> sync between the two host but i can't succed in uploading the file
> during that time.
> 
> Is there a way to configure this timeout ?
> 
> Eventually a manual sync with a  larger timeout  to restore replication
> before limiting maximum size in postfix ?
> 
> Possibly a feature would be to have a shorter timeout but applied to the
> transmission  ( ie. nothing receive during 30 sec = timeout )
> or a timeout compuited base on size ( ie. 300 sec for 10 mo for example)
> 
> Any help appreciated
Currently there is no way to change it at run time. As a quick fix, if you compile your own Dovecot, you could try modifying
DSYNC_IBC_STREAM_TIMEOUT_MSECS in src/doveadm/dsync/dsync-ibc-stream.c . I think that is the timeout you are bumping up against.

br,
Teemu Huovila



More information about the dovecot mailing list