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

NAS-129490 / 24.10 / Always include zfs cache as a free memory in vm memory info #13963

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

Qubad786
Copy link
Contributor

@Qubad786 Qubad786 commented Jul 2, 2024

Problem

The ZFS ARC (Adaptive Replacement Cache) is configured to use almost all available free memory. This often results in insufficient free memory to launch a virtual machine, triggering a concerning memory over-commitment dialog.

Solution

Include the shrinkable ZFS ARC cache in the calculation of free memory to prevent the ENOMEM (Out of Memory) warning.

@Qubad786 Qubad786 requested a review from a team July 2, 2024 18:56
@bugclerk bugclerk changed the title Always include zfs cache as a free memory in vm memory info NAS-129490 / 24.10 / Always include zfs cache as a free memory in vm memory info Jul 2, 2024
@bugclerk
Copy link
Contributor

bugclerk commented Jul 2, 2024

@Qubad786 Qubad786 merged commit 2007476 into master Jul 3, 2024
2 of 3 checks passed
@Qubad786 Qubad786 deleted the NAS-129490 branch July 3, 2024 11:48
@bugclerk
Copy link
Contributor

bugclerk commented Jul 3, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Jul 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants