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

Emit a warning if mlock() of VSM fails #4155

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

nigoroll
Copy link
Member

Trivial follow-up to #4141 : We should notify users if we can not mlock() VSM.

Related to #4121

@nigoroll nigoroll merged commit a8b3a8b into varnishcache:master Aug 19, 2024
1 of 11 checks passed
@nigoroll nigoroll deleted the warn-mlock branch August 19, 2024 15:22
@dridi
Copy link
Member

dridi commented Sep 16, 2024

Should we keep track of the amount of locked memory and mention it along with the amount of memory we failed to lock to help admins tune this limit?

@nigoroll
Copy link
Member Author

Should we keep track of the amount of locked memory

Because VMODs/VEXTs might lock memory, I would expect this reporting to be inaccurate and thus useless. And wrapping all system calls which could potentially lock memory seems like a hopeless endeavor.

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

Successfully merging this pull request may close these issues.

2 participants