Displaying 11 results from an estimated 11 matches for "file_ostream".
2019 Jul 12
1
2.3.7/FreeBSD: Seeing lots of stats-writer errors.
A user reported this to me, and I'm seeing it too:
Hi all :)
After mail/dovecot upgrade to v2.3.7 it seems something went wrong
with stat-writer...
IMAP and POP3 logs:
Jul 12 19:45:34 mail dovecot: imap-login: Error:
file_ostream.net_set_tcp_nodelay((conn:unix:/var/run/dovecot/stats-writer),
TRUE) failed: Invalid argument
Jul 12 19:45:34 mail dovecot: imap-login: Error:
file_ostream.net_set_tcp_nodelay((conn:unix:login), TRUE) failed:
Invalid argument
Jul 12 19:45:35 mail dovecot: imap: Error:
file_ostream.net_set_tcp_nodel...
2019 Jul 13
0
Error: file_ostream.net_set_tcp_nodelay
After upgrading to 2.3.7_1 I get those errors every now and then.
Running FreeBSD 12-RELEASE. Any idea what they may be?
Jul 13 08:07:11 pop3-login: Error: file_ostream.net_set_tcp_nodelay(,
FALSE) failed: Connection reset by peer
Jul 13 08:19:10 imap-login: Error: file_ostream.net_set_tcp_nodelay(,
TRUE) failed: Connection reset by peer
Jul 13 08:24:09 imap-login: Error: file_ostream.net_set_tcp_nodelay(,
TRUE) failed: Connection reset by peer
Jul 13 08:34:53...
2019 Jul 12
2
Dovecot release v2.3.7
...te:
>
>> We are pleased to release Dovecot release v2.3.7.
>
> My upgrade from 2.3.6 to 2.3.7 broke replication (FreeBSD 12.0-STABLE r349799):
>
> | dovecot[76032]: master: Dovecot v2.3.7 (494d20bdc) starting up for imap, lmtp, sieve
> | dovecot[76035]: replicator: Error: file_ostream.net_set_tcp_nodelay((conn:unix:/var/run/dovecot/stats-writer), TRUE) failed: Invalid argument
> | dovecot[76035]: replicator: Error: file_ostream.net_set_tcp_nodelay((conn:unix:auth-userdb), TRUE) failed: Invalid argument
> | dovecot[76035]: auth: Error: file_ostream.net_set_tcp_nodelay((conn...
2019 Jul 12
0
Dovecot release v2.3.7
...<dovecot at dovecot.org> wrote:
> We are pleased to release Dovecot release v2.3.7.
My upgrade from 2.3.6 to 2.3.7 broke replication (FreeBSD 12.0-STABLE r349799):
| dovecot[76032]: master: Dovecot v2.3.7 (494d20bdc) starting up for imap, lmtp, sieve
| dovecot[76035]: replicator: Error: file_ostream.net_set_tcp_nodelay((conn:unix:/var/run/dovecot/stats-writer), TRUE) failed: Invalid argument
| dovecot[76035]: replicator: Error: file_ostream.net_set_tcp_nodelay((conn:unix:auth-userdb), TRUE) failed: Invalid argument
| dovecot[76035]: auth: Error: file_ostream.net_set_tcp_nodelay((conn:unix:/var...
2019 Jul 12
9
Dovecot release v2.3.7
Hi!
We are pleased to release Dovecot release v2.3.7.
Tarball is available at
https://dovecot.org/releases/2.3/dovecot-2.3.7.tar.gz
https://dovecot.org/releases/2.3/dovecot-2.3.7.tar.gz.sig
Binary packages are available at https://repo.dovecot.org/
Changes
-------
* fts-solr: Removed break-imap-search parameter
+ Added more events for the new statistics, see
?
2019 Jul 12
9
Dovecot release v2.3.7
Hi!
We are pleased to release Dovecot release v2.3.7.
Tarball is available at
https://dovecot.org/releases/2.3/dovecot-2.3.7.tar.gz
https://dovecot.org/releases/2.3/dovecot-2.3.7.tar.gz.sig
Binary packages are available at https://repo.dovecot.org/
Changes
-------
* fts-solr: Removed break-imap-search parameter
+ Added more events for the new statistics, see
?
2019 Jul 12
0
Dovecot release v2.3.7
...Yes.
>
> This likely fixes it anyway:
>
> diff --git a/src/lib/ostream-file.c b/src/lib/ostream-file.c
> index e7e6f62d1..766841f2f 100644
> --- a/src/lib/ostream-file.c
> +++ b/src/lib/ostream-file.c
> @@ -334,7 +334,7 @@ static void o_stream_tcp_flush_via_nodelay(struct file_ostream *fstream)
> {
> if (net_set_tcp_nodelay(fstream->fd, TRUE) < 0) {
> if (errno != ENOTSUP && errno != ENOTSOCK &&
> - errno != ENOPROTOOPT) {
> + errno != ENOPROTOOPT && errno != EINVAL) {
>...
2019 Jul 12
2
Dovecot release v2.3.7
Michael Grimm via dovecot <dovecot at dovecot.org> wrote:
>
> Timo Sirainen via dovecot <dovecot at dovecot.org> wrote:
>> This likely fixes it anyway:
>>
>> diff --git a/src/lib/ostream-file.c b/src/lib/ostream-file.c
> I do not compile from source, I'm using FreeBSD's ports. Thus I tried to put this patch at the desired location to become used
2019 Jul 16
1
Dovecot release v2.3.7
On 13 Jul 2019, at 18.39, Michael Grimm via dovecot <dovecot at dovecot.org> wrote:
>
> Now replication is working from my point of view, besides occational error messages like:
>
> | imap-login: Error: file_ostream.net_set_tcp_nodelay(, TRUE) failed: Connection reset by peer
Here's the final fix for it:
https://github.com/dovecot/core/commit/25028730cd1b76e373ff989625132d526eea2504 <https://github.com/dovecot/core/commit/25028730cd1b76e373ff989625132d526eea2504>
-------------- next part ---------...
2010 Mar 13
2
Design: Asynchronous I/O for single/multi-dbox
...uld return data that is already buffered in
memory. If there's nothing, it returns EAGAIN. The FS API's
set_input_callback() can be used to set a callback function that is
called whenever there's more data available in the buffer.
Async output streams also work the same as non-blocking file_ostreams:
write() returns the number of bytes added to buffer. When buffer becomes
full, it starts returning EAGAIN. The ostream handles flushing
internally the same way as file_ostreams does, although instead of using
io_add(IO_WRITE) it uses FS API's set_output_callback(). If callers need
to know whe...
2019 Jul 13
0
Dovecot release v2.3.7
...the patch from
https://dovecot.org/pipermail/dovecot/2019-July/116479.html
#) Activating mailbox attributes as mentioned in
https://dovecot.org/pipermail/dovecot/2019-July/116492.html
Now replication is working from my point of view, besides occational
error messages like:
| imap-login: Error: file_ostream.net_set_tcp_nodelay(, TRUE) failed:
Connection reset by peer
(This has been reported before:
https://dovecot.org/pipermail/dovecot/2019-July/116491.html)
Regards,
Michael