OutOfMemory Errors with namerd and Consul
See original GitHub issueMoving away from https://github.com/linkerd/linkerd/issues/1361 since it describes a different scenario.
We are seeing a issue similar to the above mentioned with Namerd (v1.1.0) using the Consul Namer and the Consul Storage Backend. We run three Namerd instances behind a load balancer and we are consistently getting out-of-memory errors even after increasing the hard and soft limit in Docker and the heap size in the JVM. We’re now at 1024m of memory and nodes fail approximately every 8 hours.
We activated the admin route and were able to capture the situation in a near-to-crash slot:
@olix0r mentioned something was probably going wrong with the consul client.
Here’s a namerd.yml
configuration that could help to reproduce the issue:
admin:
ip: 0.0.0.0
port: 9991
interfaces:
- kind: io.l5d.thriftNameInterpreter
ip: 0.0.0.0
port: 4100
- kind: io.l5d.httpController
ip: 0.0.0.0
port: 4180
namers:
- kind: io.l5d.consul
host: X.X.X.X
prefix: /consul
includeTag: true
storage:
kind: io.l5d.consul
experimental: true
host: X.X.X.X
pathPrefix: /namerd/dtabs
Issue Analytics
- State:
- Created 6 years ago
- Comments:21 (14 by maintainers)
Top Results From Across the Web
Developers - OutOfMemory Errors with namerd and Consul -
We are seeing a issue similar to the above mentioned with Namerd (v1.1.0) using the Consul Namer and the Consul Storage Backend. We...
Read more >Consul cluster out of memory outage under high load
There was an error in the deployment of the service being queried and there was just a single instance registered, so the DNS...
Read more >Common Error Messages - Troubleshoot | Consul
Troubleshoot issues based on the error message. Common errors result from failed actions, timeouts, multiple entries, bad and expired certificates, ...
Read more >Out-of-memory issues - Progress Documentation - Progress Software
When processing large sets of data, out-of-memory errors can occur when the size of an intermediate result exceeds the available memory allocated to...
Read more >Java heap space" might occur when you use ODS ...
Java virtual machine exception. java.lang.OutOfMemoryError: Java heap space. NOTE: The SAS System stopped processing this step because of errors ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Well, I have a suspect:
I’m closing this due to inactivity. @eduponte, if you consider seeing this issue on the latest Namerd release, please re-open.