-
Notifications
You must be signed in to change notification settings - Fork 641
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
Adapt OOMKilling pattern to old and new Linux kernels #481
Conversation
Friendly ping for a review request @andyxning @xueweiz :). When could one expect a new release of NPD (incorporating this fix)? |
/assign @Random-Liu |
/lgtm Thanks for the fix! |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Random-Liu, tosi3k The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
4 similar comments
/retest |
/retest |
/retest |
/retest |
Context: #480.
Tl;dr: kernel commit torvalds/linux@bbbe480 removed logging the
Kill process %d (%s) score %u or sacrifice child\n
OOM message part we look for when tracing the kernel log in the kernel monitor. Because of that, the change removes that part from thekernel-monitor(-filelog).json
regex pattern to handle both old and new kernel versions.Successfully tested the change using https://github.com/kubernetes/node-problem-detector#try-it-out instruction (appropriate K8s events are emitted for both old and new OOM message formats).
Fixes #480.