Skip to content
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

memory leak if influxdb goes down #97

Open
tsorya opened this issue Jul 4, 2019 · 3 comments
Open

memory leak if influxdb goes down #97

tsorya opened this issue Jul 4, 2019 · 3 comments

Comments

@tsorya
Copy link

tsorya commented Jul 4, 2019

We are running influxdb plugin with config:
<match metrics.*>
@type influxdb
host 10.47.246.7
port 8086
dbname test
use_ssl false
time_key time
auto_tags
time_precision ms
retry 3

@type memory
# chunk_limit_size 524288 # 512 * 1024
# chunk_limit_records 1024
flush_interval 10
retry_limit 3
retry_wait 1.0
num_threads 1


json

when we stop influxdb we see that fluentd is leaking memory:
Screenshot from 2019-07-04 14-12-50

any ideas?

@repeatedly
Copy link
Collaborator

repeatedly commented Jul 4, 2019

Use file buffer instead :)
This is not memory leak because you use memory buffer. It stores data in memory so this is expected behaviour.

@tsorya
Copy link
Author

tsorya commented Jul 4, 2019

@repeatedly why it doesn't drop them after finishing retrying?

@repeatedly
Copy link
Collaborator

why it doesn't drop them after finishing retrying?

Your log doesn't contain any retry / drop information?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants