nohang icon indicating copy to clipboard operation
nohang copied to clipboard

A sophisticated low memory handler for Linux

Results 34 nohang issues
Sort by recently updated
recently updated
newest added

TODO: Improve documentation

Hi @hakavlad I have always much appreciated your various works for improving memory usage/system responsiveness (latency) or temporal throughput. That is why I was wondering what are your thoughts and...

1. With the kernel already using the term [`badness`](https://github.com/torvalds/linux/blob/master/mm/oom_kill.c#L203) used to calculate the term [`oom_score`](https://github.com/torvalds/linux/blob/master/fs/proc/base.c#L553), nohang's usage of the term `badness` confused me for a while. After examining the source...

I set in nohang-desktop.conf: ``` warning_threshold_min_mem = 20 % ``` Warnings enabled: ``` low_memory_warnings_enabled = True ``` Restarting the daemon: ``` sudo systemctl restart nohang-desktop ``` Pushing the system below...

``` $respect_memory.oom.group = False @kill_cgroup_v2_group_re ^/workload\.slice/ @kill_cgroup_v1_group_re ^/workload\.slice/ @kill_cgroup_v1_group_re ^/system\.slice/foo\.service$ ``` If the process cgroup matches the specified one, then all processes with the same сgroup will be killed.

enhancement

`ignore_positive_oom_score_adj` option may not work properly with Linux 5.9+. See also https://github.com/rfjakob/earlyoom/issues/248

bug

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...

``` ноя 14 18:27:56 PC nohang-desktop[5225]: >----- implement_corrective_action() ------------------> ноя 14 18:27:56 PC nohang-desktop[5225]: Memory status that requires corrective actions: ноя 14 18:27:56 PC nohang-desktop[5225]: MemAvailable [263 MiB, 2.7 %]

bug

I cannot see that post_soft_action_delay is actually being used to sleep after a soft corrective action. Reviewed the code and only place I can find is here: https://github.com/hakavlad/nohang/blob/cf6b213afe32cedb747785c15791b5ae2169659b/src/nohang#L2710 Might be...

To complement my pull requests, I have updated my [overlay](https://git.sr.ht/~happy_shredder/eph_kit) to include sys-process/nohang. If you're happy with all this, can we get the README updated to note this? In principle...