-
Notifications
You must be signed in to change notification settings - Fork 160
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
find proccess with largest rss #300
find proccess with largest rss #300
Conversation
…arlyoom into get_cmdline_while_killprocess
I'm curious how/when badness is not accurate. In your screenshots it seems fine:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Problem: --avoid / --prefer don't work with --sort-by-rss
e.g: i want the process java... badness 73, VmRSS 2359MiB to be killed before gunicorn ... badness 1004, VmRSS 129 MiB |
Is there any issue or concern regarding this request? |
No, code is ok but I need to find time to test it manually
…On Wed, 11 Oct 2023, 11:32 Ran Huang, ***@***.***> wrote:
Is there any issue or concern regarding this request?
—
Reply to this email directly, view it on GitHub
<#300 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACGA7YKK2ZTAHEAD3I242DX6ZRTLANCNFSM6AAAAAA45U3WB4>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Merged, thanks! |
By default, earlyoom identifies and terminates the process with the highest oom_score. However, in my Linux system, the oom_score is not an accurate indicator.
Instead, I would like to identify and terminate the process with the highest memory usage.
find process with the largest oom_score
find process with the largest rss