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

Configuration not working on Ubuntu #112

Open
amit08255 opened this issue Dec 15, 2020 · 4 comments
Open

Configuration not working on Ubuntu #112

amit08255 opened this issue Dec 15, 2020 · 4 comments

Comments

@amit08255
Copy link

amit08255 commented Dec 15, 2020

Hi!
I am using nohang with following configuration -

soft_threshold_min_mem = 15 %
soft_threshold_min_swap = 14 %
soft_threshold_max_zram = 55 %
hard_threshold_min_mem = 30 %
hard_threshold_min_swap = 4 %

The issue is nohang service is running but not killing the applications and my system gets stuck. Please provide a configuration file or help me with the setting configuration in order to prevent the system hangs on low memory.

@hakavlad
Copy link
Owner

Hi! What is your kernel version? Do you actually enable nohang-desktop.service? How large is the swap space?

See also #85

@amit08255
Copy link
Author

I am using Zorin OS 15.3. Swap size - 4 GB.
I fixed it by setting -

soft_threshold_min_swap = 0 %
hard_threshold_min_swap = 0 %

If you could suggest a good configuration, it would be great.
Thanks.

@alexmyczko
Copy link

alexmyczko commented Mar 31, 2023

I've been using it on Ubuntu 20.04 on like 200 machines, and since a year on 22.04. It's pretty successfully (a lot, but not all) killing user jobs even on multi user machines, ranging from 8 GB memory up to 2 TB memory, all with zram enabled.

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

No branches or pull requests

3 participants