Comments (3)
This issue is happening for me too. In fluentd logs:
2019-05-30 01:52:12.729014141 +0000 fluent.error: {"title":"in_systemd_emit_worker","error":"#<Systemd::JournalError: Bad message>","message":"[journald] Unexpected error raised. Stopping the timer. title=:in_systemd_emit_worker error_class=Systemd::JournalError error=\"Bad message\""}
and
2019-05-30 01:52:12 +0000 [error]: #0 [journald] Unexpected error raised. Stopping the timer. title=:in_systemd_emit_worker error_class=Systemd::JournalError error="Bad message
Received these 2 logs a single time. The logs on this particular kubernetes pod stopped flowing. I deleted the pod, it came back up, and then the logs started flowing again.
I ran journalctl --verify
from the node where the pod was running, but also nodes there the pod was NOT running, and saw the same FAIL messages. They came and went in both cases, so I don't think that was important.
from fluent-plugin-systemd.
Here's the full log related to this
2019-05-31 16:52:15 +0000 [warn]: #0 [journald] Error reading from Journal: Systemd::JournalError: Bad message
2019-05-31 16:52:15 +0000 [error]: #0 [journald] Unexpected error raised. Stopping the timer. title=:in_systemd_emit_worker error_class=Systemd::JournalError error="Bad message"
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/systemd-journal-1.3.3/lib/systemd/journal/navigable.rb:44:in `move_next'
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/fluent-plugin-systemd-1.0.2/lib/fluent/plugin/in_systemd.rb:131:in `watch'
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/fluent-plugin-systemd-1.0.2/lib/fluent/plugin/in_systemd.rb:109:in `run'
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/fluentd-1.4.0/lib/fluent/plugin_helper/timer.rb:80:in `on_timer'
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run_once'
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/cool.io-1.5.3/lib/cool.io/loop.rb:88:in `run'
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/fluentd-1.4.0/lib/fluent/plugin_helper/event_loop.rb:93:in `block in start'
2019-05-31 16:52:15 +0000 [error]: #0 /usr/local/bundle/gems/fluentd-1.4.0/lib/fluent/plugin_helper/thread.rb:78:in `block in thread_create'
2019-05-31 16:52:15 +0000 [error]: #0 [journald] Timer detached. title=:in_systemd_emit_worker
2019-05-31 16:52:15.913211850 +0000 fluent.warn: {"message":"[journald] Error reading from Journal: Systemd::JournalError: Bad message"}
2019-05-31 16:52:15.916827918 +0000 fluent.error: {"title":"in_systemd_emit_worker","error":"#<Systemd::JournalError: Bad message>","message":"[journald] Unexpected error raised. Stopping the timer. title=:in_systemd_emit_worker error_class=Systemd::JournalError error=\"Bad message\""}
2019-05-31 16:52:15.917048234 +0000 fluent.error: {"title":"in_systemd_emit_worker","message":"[journald] Timer detached. title=:in_systemd_emit_worker"}
from fluent-plugin-systemd.
Thanks to the contribution of @mariusgrigoriu this should now be fixed, a new version has been released https://github.com/fluent-plugin-systemd/fluent-plugin-systemd/releases/tag/v1.0.3
from fluent-plugin-systemd.
Related Issues (20)
- Error: Is a directory @ io_getpartial - /var/log/journal HOT 2
- Is it possible to transfer the ownership to fluent-plugins-nursery? HOT 7
- Does support Journal Namespaces? HOT 4
- Parser type filter not working with systemd logs
- Unable to read and output journal files from default path var/log/journal HOT 1
- No logs are read on systemd 253+ potentially HOT 2
- Can't configure storage with the conf.arg parameter HOT 1
- `checking for ffi.h... *** extconf.rb failed ***` HOT 1
- How to get Gke node reboot and shutdown logs using journald Systemd service unit HOT 1
- Do not install the plugin HOT 1
- Not able to ship logs even after adding td-agent user to systemd-journal group HOT 2
- heads up! - systemd 246 journal logs produced is not readable by older versions of systemd-journald HOT 2
- support for Fedora based systems? HOT 1
- Logs getting delayed
- This plugin does not seem to work when systemd rotates the journal
- Plugin crash during graceful shutdown
- Does this plugin support zstd compression compression?
- Latest 1.0.5 version is missing some gem dependencies
- Unable to read journal files from subdirectories under default path var/log/journal
- Using systemd entry in record_modifier
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-plugin-systemd.