-
Notifications
You must be signed in to change notification settings - Fork 48
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
Whitelisting a process by name #125
Comments
Hi!
should work.
It looks like nohang didn't work at all - the kernel's OOM killer worked instead. |
@hakavlad does nohang override kernel's OOM killer settings? |
nohang should work earlier than kernel's OOMK. |
Did you change something else in the config? |
No. They work independently of each other. |
I think that the crash was caused nt by nohang but by kernel's OOM killer... In the config I didn't change other things. |
Is the service running at all? What's in the status?
|
How much swap space do you have? |
What's in the journal? |
Yes, the Swap Space: 8GB About the
For In your opinion, could be effective to disable the kernel's OOM killer and use only |
I'm not sure this is even possible. Do you have any idea how to do it? btw, what kernel version are you using? Is MGLRU enabled?
It is default value typically. It does not turn off kernel's OOMK. |
Hello,
I'm trying to whitelist a process to avoid that OOM nohang kills it. What I'm trying to whitelist is
gnome-shell
process, and for doing this, I edited/etc/nohang/nohang.conf
and I added:but when I run a process that makes gnome-shell to use a lot of resources, by journalctl I'm still getting:
and my user session restarts always.
How can I whitelist
gnome-shell
or a process by name in nohang?The text was updated successfully, but these errors were encountered: