Replication problem

Vincent ETIENNE ve at vetienne.net
Wed Sep 10 10:49:27 UTC 2014


Le 10/09/2014 11:56, Teemu Huovila a écrit :
> 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
>
Thanks will try and keep you inform of the result. May take some time (
i am not compiling dovecot now )
Really thanks because for now my replication is broken and so mail are
not receive for some user depending on
the instance of dovecot they connect....


Vincent ETIENNE


More information about the dovecot mailing list