-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Fluentd crashes #1098
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I tested your configuration and it worked without problem in 25 minutes.
|
Hi, thank you for your response! Actually, I have been able to reproduce it with the following steps:
It will then do the behavior I described above. Maybe it has to do with buffer files not being cleaned up? |
@repeatedly could you reproduce this behavior? Just wondering :) |
Yeah, I will try it. |
I can reproduce similar issue without signal and python. The issue is that fluentd generates very huge file. How to reproduceI strongly recommend to send Ctrl+Z ASAP after executing fluentd.
I generated like this.
Environment
Result
noteThe file is written only "foobar" which is came from echo(1).
|
I'll fix this problem at next version (v0.14.2). |
got it, looking forward to it! Thanks! |
@perrin4869 Could you test #1124 patch? |
Sorry for the stupid question, but how do I install the patch? Can gem install from a github branch? |
Steps to build fluentd.gem with the patch above:
|
You can also test the patch without
If you clone the repository to |
I did the following, inside the git clone https://github.com/fluent/fluentd
( cd fluentd && git checkout -b ignore-non-buffer-chunk-files origin/ignore-non-buffer-chunk-files )
RUBYLIB=fluentd/lib fluentd -c ./fluentd.conf -vv I get these messages every second:
After starting the python script, I get:
Every time fluentd receives an event |
@perrin4869 Could you please test it without |
ok, without the filter it's working like charm now :) |
Thanks for the testing! |
我也遇到了这个问题,你们都是怎么解决的 |
I'm having the same issue. Here is the error on my Kibana (I'm using EFK orchestration): My config:
Here is my Dockerfile:
Here is my docker-compose.yaml:
When I try to log my data using fluentd (I'm using this package here) I'm getting the error. Can someone help me? |
Running fluentd 0.14.1, installed with
gem
, on Arch Linux. I setup a simplefluent.conf
demo like this:And I fed it data with a python script as follows:
However, fluentd goes crazy after a short while. The directory with the fluentd configuration file gets filled with buffer files:
demo.py fluentd.conf requirements.txt temperature.20160713.log temperature.b5377a1127d7372b0cce743309564537e.log temperature.b5377a1127d7372b0cce743309564537e.log.meta temperature.q5377a0ef3166873b918670336db4363b.log temperature.q5377a0ef3166873b918670336db4363b.log.meta temperature.q5377a0f0259024f31fbd332a6b46d5d0.log temperature.q5377a0f0259024f31fbd332a6b46d5d0.log.meta temperature.q5377a0f119b896c8c47a246b8c5beb3e.log temperature.q5377a0f119b896c8c47a246b8c5beb3e.log.meta temperature.q5377a0f20df0d19d406ccd7bfce1b7ac.log temperature.q5377a0f20df0d19d406ccd7bfce1b7ac.log.meta temperature.q5377a0f3023b750a28abbe69ad70814a.log temperature.q5377a0f3023b750a28abbe69ad70814a.log.meta temperature.q5377a0f3f65fa1859ba3e9d757e6c354.log temperature.q5377a0f3f65fa1859ba3e9d757e6c354.log.meta temperature.q5377a0f4ea975c703d1a09a1851b4941.log temperature.q5377a0f4ea975c703d1a09a1851b4941.log.meta temperature.q5377a0f5ded4e986152edef1f0ac5a25.log temperature.q5377a0f5ded4e986152edef1f0ac5a25.log.meta temperature.q5377a0f6d30d0540bc30e18159e6ba58.log temperature.q5377a0f6d30d0540bc30e18159e6ba58.log.meta temperature.q5377a0f7c7429d5f36b185742e212109.log temperature.q5377a0f7c7429d5f36b185742e212109.log.meta temperature.q5377a0f8bb79791d30682c34af3c1427.log temperature.q5377a0f8bb79791d30682c34af3c1427.log.meta temperature.q5377a0f9afbe277a9716c4c9d0665545.log temperature.q5377a0f9afbe277a9716c4c9d0665545.log.meta temperature.q5377a0faa422051a5e377990842dc252.log temperature.q5377a0faa422051a5e377990842dc252.log.meta temperature.q5377a0fb983431366edd54cb8ce22488.log temperature.q5377a0fb983431366edd54cb8ce22488.log.meta temperature.q5377a0fc8c6b774ffe008bf0c5f57037.log temperature.q5377a0fc8c6b774ffe008bf0c5f57037.log.meta temperature.q5377a0fd80a63a9cf2747d50ee657932.log temperature.q5377a0fd80a63a9cf2747d50ee657932.log.meta temperature.q5377a0fe74dc694dd158ad01cd33660e.log temperature.q5377a0fe74dc694dd158ad01cd33660e.log.meta temperature.q5377a0ff691f91a3e90fc0249bc90f73.log temperature.q5377a0ff691f91a3e90fc0249bc90f73.log.meta temperature.q5377a1005d45b5e1839042e134b95a4b.log temperature.q5377a1005d45b5e1839042e134b95a4b.log.meta temperature.q5377a101518dba28a4d1fa385cb81e67.log # and many more like this
Trying to close fluentd with SIGINT or SIGTERM fails, so I killed it with SIGKILL:
If I let it keep running it crashes my computer.
Thanks!
The text was updated successfully, but these errors were encountered: