question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OutOfMemory Errors with namerd and Consul

See original GitHub issue

Moving 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.

screen shot 2017-07-11 at 14 50 41

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:closed
  • Created 6 years ago
  • Comments:21 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
hawkwcommented, Jul 20, 2017

Well, I have a suspect: screen shot 2017-07-20 at 2 22 50 pm screen shot 2017-07-20 at 2 26 05 pm

0reactions
hawkwcommented, Jan 9, 2018

I’m closing this due to inactivity. @eduponte, if you consider seeing this issue on the latest Namerd release, please re-open.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found