-
Notifications
You must be signed in to change notification settings - Fork 385
Consul Client Memory Leak #487
Comments
Thanks folks, we'll take a look ASAP. |
So we've found the issue: hashicorp/consul#8092. It's a goroutine leak. Unfortunately it's in consul which means we need a consul release to fix it properly. The fix will be backported but we don't have a release date yet. We're going to look into modifying the lifecycle-sidecar so it doesn't exacerbate the memory leak. For a current workaround you can:
|
@lkysow thanks for the update and workarounds. I'm trying to decide if I can live w/ the issue for a bit or if I need to implement the workaround. Even though you don't have a release data do you have a sense for how long that will be from now? A week, month, ...? |
Consul 1.8.0 should be released within a week. |
Consul 1.8.0 has been released. Please upgrade to this version to fix the memory leak. |
I'm not 100% sure but I think you should only see the memory leak on the one older node. If you're seeing memory leaks on other nodes that sounds like a bug. If you're seeing memory leaks on the one older node then yes, you need to upgrade that node. |
Overview of the Issue
Created in hashicorp/consul#8051 and was asked to request the issue here.
I'm seeing patterns of memory usage on the client that indicate a memory leak.
Reproduction Steps
values.yml
Consul info for both Client and Server
Client info
Server info
Operating system and Environment details
GCP + Private GKE (1.16.8-gke.15) + Helm3 + Consul 1.7.3
Log Fragments
logs.zip
The text was updated successfully, but these errors were encountered: