-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 spike while using suppress and throttling plugin #4808
Comments
@daipom can you please here? sorry to tag you directly, I have gone through issues raised and observed you are actively looks on plugin issues. sorry once again, but memory spike is messing our test bed so we need some help here. |
I found fluent-plugin-suppress increase memory usage when many long log messages are duplicated |
@Watson1978 , will be getting a fix soon or how will proceed currently? |
The following modifications might have reduced memory usage slightly.
require "json"
path = File.expand_path("~/tmp/access.log")
File.open(path, "w") do |f|
log = { "message": "a" * 1_000_000 }.to_json
loop do
f.puts log
sleep 0.005
end
end
|
@akshaysharama I think your problem will be solved when |
Describe the bug
Using these plugins to discard the duplicate logs from the fluentd.
Trying to remove duplicate logs from the k8s cluster microservices, reading logs from the /var/log/containers and removing duplicate log to improve readbility.
To Reproduce
Expected behavior
Memory shoot-up should not happen
Your Environment
Your Configuration
Your Error Log
Additional context
No response
The text was updated successfully, but these errors were encountered: