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

swapfc_priority reaching negative values on long running systems #192

Open
vilgotf opened this issue Nov 19, 2020 · 0 comments
Open

swapfc_priority reaching negative values on long running systems #192

vilgotf opened this issue Nov 19, 2020 · 0 comments

Comments

@vilgotf
Copy link
Contributor

vilgotf commented Nov 19, 2020

On a long-running system with swapfc enabled swapfc_priority=50 can eventually reach 0 (generating kernel errors) as seen here: #135. Looping back to the value of swapfc_priority close to 0 is not a valid solution since that would mean that the highest priority swap file would be the first to be removed.

A better solution would be to disable swapfc_priority when it's 0 and let the kernel manage priorities (it has exclusive rights to priority -1...).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants