You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In addition to the PR currently up (#2716), another proposal which would help with this would be to use syslog. If logs were sent to syslog we could close STDOUT/STDERR, and would no longer get the SIGPIPE.
Bug report
System info:
Steps to reproduce:
systemctl stop systemd-journald.socket
systemctl stop systemd-journald.service
systemctl start systemd-journald.service
wait for telegraf to try to write a log file. (start with debug to accelerate)
Expected behavior:
Telegraf process stays up Or systemd restart it properly
Actual behavior:
Telegraf dies and never comes back
Additional info:
This occurs when we restart systemd-journald, which cause a crash/stop of telegraph seen as a STDPIPE
See: https://bugs.freedesktop.org/show_bug.cgi?id=84923#c9
With affected services like Consul: hashicorp/consul#1688
and Prometheus: https://github.com/voxpupuli/puppet-prometheus/pull/3/files
The text was updated successfully, but these errors were encountered: