Skip to content
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 when "[ERR] agent: failed to sync remote state: rpc error" #611

Closed
sgirones opened this issue Jan 16, 2015 · 3 comments
Closed
Labels
type/bug Feature does not function as expected

Comments

@sgirones
Copy link

Consul agent stats

19047 root      20  0 41.1g 547m 6700 S  13  0.2  0:03.85 consul
[...]
19047 root      20  0 44.5g 3.9g 6828 S    4  1.5  0:43.20 consul

Consul logs:

[ERR] agent: failed to sync remote state: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error: rpc error [...]

Still we haven't had time to reproduce it, but maybe someone looking at the code can identify it. Deducing from the log, the problem can come from here:

@ryanuber
Copy link
Member

I've seen this once before as well, but wasn't able to reproduce it. Tagging as a bug, thanks!

@ryanuber ryanuber added the type/bug Feature does not function as expected label Jan 19, 2015
@sgirones
Copy link
Author

I can say it was solved once the consul data was cleaned. It had non-reachable IPs.

If I have time these days I will try to reproduce, but can't promise.

@armon
Copy link
Member

armon commented Feb 16, 2015

Fixed by hashicorp/raft@a88bfa8

@armon armon closed this as completed Feb 16, 2015
duckhan pushed a commit to duckhan/consul that referenced this issue Oct 24, 2021
* Fix a bug where if the namespace is set in your kube context, the tests will ignore it
* Update client-go, terratest, and consul versions
duckhan pushed a commit to duckhan/consul that referenced this issue Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Feature does not function as expected
Projects
None yet
Development

No branches or pull requests

3 participants