Re: doveadm sync - I/O has stalled

2024-04-09 Thread Timo Sirainen via dovecot
We haven't found any specific bugs with lib-ssl-iostream so far, but we did find istream-multiplex bug that could cause hangs with doveadm-doveadm connections. Could be worth testing if it helps: https://github.com/dovecot/core/commit/bbe546bc637a6ac5c9e91fc8abefce62e4950d07 > On 30. Dec 2022,

Re: doveadm sync - I/O has stalled

2023-01-01 Thread Timo Sirainen
On 2. Jan 2023, at 3.26, Timo Sirainen wrote: > > On 2. Jan 2023, at 3.21, Timo Sirainen wrote: >> >> >>> It may happen, but it is hard to reproduce. >> >> Are you able to try if this patch happens to fix it? : > > Actually, looking at it slightly more, there may be another bug in it, >

Re: doveadm sync - I/O has stalled

2023-01-01 Thread Timo Sirainen
On 2. Jan 2023, at 3.21, Timo Sirainen wrote: > > >> It may happen, but it is hard to reproduce. > > Are you able to try if this patch happens to fix it? : Actually, looking at it slightly more, there may be another bug in it, although I'm not sure how it affects the behavior. So try this

Re: doveadm sync - I/O has stalled

2023-01-01 Thread Timo Sirainen
Hi, > But when dsync connects over tcps, > it uses function implementations in lib-ssl-iostream to send and receive data. > And this simplified call stack would result in some data are read when > calling o_stream_uncork > > o_stream_uncork => o_stream_flush => o_stream_ssl_flush_buffer => >

doveadm sync - I/O has stalled

2022-12-30 Thread songliny
Hi All, We are using dovecot 2.3.19.1 We created a account with more than 1000 mail folders in Maildir format to reproduce the issue. After weeks of testing, we have found a logic that may cause dsync to encounter the error - no activity for 900 seconds The function, dsync_ibc_stream_input,