-
Notifications
You must be signed in to change notification settings - Fork 96
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 introduced in 0.6.9 or 0.6.10 #187
Comments
@qingling128 Mind taking a look? |
Sure. We've noticed this memory leak issue during the recent benchmarking tests as well. Will take a look. I've also created an internal ticket to track it. |
I'm seeing this as well on 0.6.10 where google-fluentd (1.5.23) easily consumes 1GB of memory for a low log usage server. All logs are flushed to stackdriver (visible in the log viewer) Perhaps more troubling for us then most other customers, since we run 50+ instances with low ram (g1-small etc)
Let me know if I can help with any testing or debugging |
To pile on here, we are seeing the same behavior. It's giving us a headache in our test environment because the instances don't have the extra memory to spare which leads to OOM errors. We have instances in production where google-fluentd 1.5.23-1 is using 2GB+ RAM. |
Sorry for the inconvenience. We are actively looking into this. Will see if we can quickly locate the root cause or at least a safe dependency version to roll back. |
Some initial investigation and benchmarking revealed that the memory leak seems to be isolated to gRPC only (not the REST path). Note that we turned on gRPC by default in v1.5.19. Might worth trying setting
|
Update: Will release a new gem and new package soon. Thanks for the patience. |
fluent-plugin-google-cloud v0.6.11 is released. Releasing google-fluentd package next. |
Thanks. v1.5.24-1 looks good. |
Since google-fluentd updated from 1.5.22-1 to 1.5.23, we're seeing a ton of retained memory (820 MB retained for ~30 MB of logs over ~7 hours). The only change in google-fluentd between those versions is upgrading fluent-plugin-google-cloud from 0.6.8 to 0.6.10.
Looking at the commit log here, it looks like this might be from another dependency (google-api-client, google-cloud-logging or gRPC?)...
(Someone else said they saw this also with 1.5.23 and not 1.5.20 in the Google Cloud Platform Slack community.)
The text was updated successfully, but these errors were encountered: