Comments (7)
Apologies for the late response.
This is a known issue caused by a memory leak in the google-cloud-logging plugin fixed by:
#86
We were made aware of the issue through standard support channels on Dec 14th, and have taken steps to move all customers off of images with the broken sidecar as of Dec 20th. If you believe this is still occurring with your application, feel free to reopen and we will investigate.
from appengine-sidecars-docker.
@Cynocracy Thank you for the response! What can I do to ensure we are on the new image? It does not seem to be running away anymore, but our fluentd process seems to be running around 23% (230mb). Does this sound normal to you?
from appengine-sidecars-docker.
Fluentd has been seen to be fairly resource intensive in the past (especially depending on the log volume). 230mb doesn't sound unreasonable to me, so long as the usage isn't growing continuously as you saw before.
You can check that you're on the newest image (or at least an unaffected image) by checking the version of the google-cloud-logging plugin in the fluentd sidecar:
sudo su
docker exec -it fluentd_logger google-fluentd-gem list fluent-plugin-google-cloud
This will show 0.6.8 if the image is impacted by the memory leak, and another version (likely 0.6 or 0.6.12) if not.
from appengine-sidecars-docker.
@Cynocracy I just ran that command and we are on 0.6.8. How do I update to 0.6.12?
from appengine-sidecars-docker.
Redeploying should pick up the latest image (with a fixed sidecar).
If you file a support request and reference this, I'd be happy to dig into why you ended up with the memleaked sidecar.
from appengine-sidecars-docker.
Ah, I apologize, I was slightly inaccurate, it looks like the issue was in reality introduced by grpc >= 1.3
Checking the version of the grpc plugin reveals
grpc (1.2.5 x86_64-linux) on the "latest" image (actually a rollback), despite the command I pasted above showing fluent-plugin-google-cloud (0.6.8, 0.6.0).
I'm admittedly not an expert on the gem system, but it appears the memory leak isn't included so long as the grpc output is < 1.3. Which means we're good :) or well, the latest image is.
from appengine-sidecars-docker.
Ok, it looks like we are on 1.2.5! Thank you for the help!
from appengine-sidecars-docker.
Related Issues (11)
- Audit Fluentd configuration with wildcards "*" to avoid log duplication HOT 1
- Logrotate config for nginx HOT 1
- Rotate custom logs HOT 1
- Switch from glog to zap.Logger in Opentelemetry Collector HOT 1
- OpenTelemetry Collector is disabled HOT 2
- Error sending VM ready time metrics
- OpenTelemetry Generic OTLP Receiver HOT 1
- Proxy settings for websockets HOT 1
- Logging X-Forwarded-For in jsonPayload HOT 2
- internal.flushLog: Flush RPC: service bridge returned HTTP 400 ("App Engine APIs over the Service Bridge are disabled.\nIf they are required, enable them by setting the following to your app.yaml:\n\nbeta_settings:\n enable_app_engine_apis: true\n") HOT 9
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 appengine-sidecars-docker.