-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Extreme virtual memory usage #363
Comments
@bataras This is actually expected behavior. We use LMDB for our storage engine, and it relies on doing large mmap()'s internally. Thus our baseline virtual memory usage is about 40GB, plus an additional few GB caused by the Golang runtime. This is not a concert, since the amount that is resident is not that high. In this case, only 40MB is resident which is reasonable for the server nodes. Closing, since this is expected. |
Ok cool. I looked around before filing the issue (ie googled consul memory etc). Sorry for the noise |
No worries, I'm actually re-opening this to add to an FAQ. |
* Health checks base (hashicorp#333) Add the health checks controller to connect-inject for service-mesh. Co-authored-by: Ashwin Venkatesh <ashwin@hashicorp.com> Co-authored-by: Iryna Shustava <ishustava@users.noreply.github.com> Co-authored-by: Luke Kysow <1034429+lkysow@users.noreply.github.com>
I've been running a 5 node consul installation for about a month in a dev/test environment. 3 nodes are running as a server and 2 are running as clients. Running consul v0.4.0
The server nodes show an extremely high VIRT memory consumption, while the clients look fine.
Consul itself seems to be fine. The UI, services, k/v etc are working.
Here's a few lines from top...
Note the 402GB VIRT usage
Note also, I'm running consul via a docker container as follows...
The text was updated successfully, but these errors were encountered: