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

Add runbook for MongoDBVirtualMemoryUsage #325

Closed
b3n3w opened this issue Dec 20, 2022 · 4 comments
Closed

Add runbook for MongoDBVirtualMemoryUsage #325

b3n3w opened this issue Dec 20, 2022 · 4 comments

Comments

@b3n3w
Copy link

b3n3w commented Dec 20, 2022

Hello,

first of all, thanks for this collection of alerts!.
I've tested the set of percona mongoDB alerts in my current setup and could see, that the "MongoDBVirtualMemoryUsage" is always firing.
This means, that the virtual memory is taking up more than three times the space as the resident memory -> high memory usage.

Do you have any idea how to handle this ? Currently it is super noisy for me.

@samber
Copy link
Owner

samber commented Dec 20, 2022

I have no mongo instance for testing this rule. Can you write a new query?

@dosmanak
Copy link

Hello. I observe this alert on one secondary in 3 nodes cluster. The server has plenty of RAM and there is not much load at the moment. Yet after some batch operation, this alert remained active whole day.
It seems the mongo does not free memory if not under pressure.

@dosmanak
Copy link

Here is probably the source for metrics in mongo docs.

The value of mem.resident is roughly equivalent to the amount of RAM, in mebibyte (MiB), currently used by the database process. During normal use, this value tends to grow. In dedicated database servers, this number tends to approach the total amount of system memory.

I suggest to delete this alert.

@samber
Copy link
Owner

samber commented May 23, 2024

done

@samber samber closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants