Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1034747: systemd-journal-gatewayd flood log with entries from microhttpd

267 views
Skip to first unread message

phoen...@t-online.de

unread,
Apr 23, 2023, 4:30:05 AM4/23/23
to

Package: systemd-journal-remote

Version: 247.3-7+deb11u1 arm64

When i try to get the log file with the systemd-journal-gatewayd service thru an UNIX-SOCKET, the log ist flooded with the following meassages after the normal log entries:

Apr 23 10:07:00 home-assistant systemd-journal-gatewayd[16476]: microhttpd: Setting TCP_NODELAY option to ON state failed: Operation not supported

Apr 23 10:07:00 home-assistant systemd-journal-gatewayd[16476]: microhttpd: Setting TCP_CORK option to OFF state failed: Operation not supported

Apr 23 10:07:00 home-assistant systemd-journal-gatewayd[16476]: microhttpd: Failed to push the data from buffers to the network. Client may experience some delay (usually in range 200ms - 5 sec).

 

The only setting in the systemd-journal-gatewayd.socket is:

[Socket]

ListenStream=/run/systemd-journal-gatewayd.sock

I run Debian 11 on a Raspberry Pi 4, but the same problem occurs on Debian 11 running on a amd64 machine.

When i try the same on an Ubuntu 20 machine, the recived log is okay.

I am using Linux home-assistant 5.10.0-21-arm64 #1 SMP Debian 5.10.162-1 (2023-01-21) aarch64 on the Raspberry Pi 4

 

Michael Biebl

unread,
Apr 23, 2023, 5:12:56 AM4/23/23
to
Am 23.04.2023 um 10:18 schrieb phoen...@t-online.de:
> TCP_NODELAY option to ON state failed: Operation not supported

That sounds like either a problem in the kernel or the microhttpd library.
OpenPGP_signature

Michael Biebl

unread,
Apr 23, 2023, 6:31:57 PM4/23/23
to
Am 23.04.23 um 10:18 schrieb phoen...@t-online.de:

> I run Debian 11 on a Raspberry Pi 4, but the same problem occurs on
> Debian 11 running on a amd64 machine.

Can you try with the backport version as well [1]


[1] https://packages.debian.org/source/stable-backports/systemd

OpenPGP_signature

Michael Biebl

unread,
Apr 24, 2023, 3:10:05 AM4/24/23
to
Control: reassign -1 libmicrohttpd12
Am 24.04.23 um 08:45 schrieb phoen...@t-online.de:
> OK
>
> I tried it with the backports version. - It's the same problem.
>
> Apr 24 08:27:12 home-assistant-test systemd-journal-gatewayd[1032]: microhttpd: Setting TCP_NODELAY option to ON state failed: Operation not supported
> Apr 24 08:27:12 home-assistant-test systemd-journal-gatewayd[1032]: microhttpd: Setting TCP_CORK option to OFF state failed: Operation not supported
> Apr 24 08:27:12 home-assistant-test systemd-journal-gatewayd[1032]: microhttpd: Failed to push the data from buffers to the network. Client may experience some delay (usually in range 200ms - 5 sec).
> * Connection #1 to host localhost left intact

Since those errors come for libmicrohttp, I'm going to reassing the issue
Checking the changelog of libmicrohttp, there are quite a few changes
regarding the handling of those options, see
https://git.progress-linux.org/users/daniel.baumann/debian/packages/libmicrohttpd/tree/ChangeLog

I assume, Ubuntu uses a newer version of libmicrohttp

Michael



OpenPGP_signature

Daniel Baumann

unread,
Apr 24, 2023, 3:20:04 AM4/24/23
to
close 0.9.75-6
thanks

On 4/24/23 09:01, Michael Biebl wrote:
> Since those errors come for libmicrohttp, I'm going to reassing the issue
> Checking the changelog of libmicrohttp, there are quite a few changes
> regarding the handling of those options, see
> https://git.progress-linux.org/users/daniel.baumann/debian/packages/libmicrohttpd/tree/ChangeLog

yes, this is supposedly fixed in (at least) the current version in
testing/unstable, thus closing the bug.

Regards,
Daniel
0 new messages