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

[batch] Use earlyoom to terminate a process using too much memory #1402

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giordano
Copy link
Member

Linux's built-in system to manage out-of-memory (OOM) errors is unreliable and non-informative, even if it kicks in (and if often it does too late, when the machine is already unresponsive) there's no easy way to tell that a process on a remote machine was terminated because it was using too much memory. With earlyoom we bypass Linux's OOM management and have better control over what's printed to screen in case of error.

Ref: #1333 (comment).

Note: opening as draft because I haven't tested this in production yet.

Linux's built-in system to manage out-of-memory (OOM) errors is unreliable and
non-informative, even if it kicks in (and if often it does too late, when the
machine is already unresponsive) there's no easy way to tell that a process on a
remote machine was terminated because it was using too much memory.  With
`earlyoom` we bypass Linux's OOM management and have better control over what's
printed to screen in case of error.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

1 participant