Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/sbin/nohang
- Config: /etc/nohang/nohang.conf
- 1. Memory levels to respond to as an OOM threat
- [displaying these options need fix]
- mem_min_sigterm: 787 MiB, 10.0 %
- mem_min_sigkill: 393 MiB, 5.0 %
- swap_min_sigterm: 15 %
- swap_min_sigkill: 5 %
- zram_max_sigterm: 3933 MiB, 50.0 %
- zram_max_sigkill: 4720 MiB, 60.0 %
- 2. The frequency of checking the level of available memory (and CPU usage)
- rate_mem: 4000.0
- rate_swap: 1500.0
- rate_zram: 6000.0
- 3. The prevention of killing innocent victims
- min_delay_after_sigterm: 3.0
- min_badness: 20
- decrease_oom_score_adj: False
- 4. Impact on the badness of processes via matching their names, cmdlines ir UIDs with regular expressions
- (todo)
- 5. The execution of a specific command instead of sending the
- SIGTERM signal
- 6. GUI notifications:
- - OOM prevention results and
- - low memory warnings
- gui_notifications: True
- gui_low_memory_warnings: True
- min_time_between_warnings: 15.0
- mem_min_warnings: 1967 MiB, 25.0 %
- swap_min_warnings: 50 %
- zram_max_warnings: 3146 MiB, 40.0 %
- 7. Output verbosity
- print_config: True
- print_mem_check_results: True
- print_sleep_periods: True
- Monitoring has started!
- PSI avg: 0.0 | MemAvail: 4649 M, 59.1 % | SwapFree: 20212 M, 100.0 % | dMem: 0 M/s
- psi_post_action_delay_exceeded: False
- sigkill_psi_exceeded: False
- psi_kill_exceeded_timer: 0
- sigterm_psi_exceeded: False
- psi_term_exceeded_timer: 0
- Traceback (most recent call last):
- File "/usr/sbin/nohang", line 3192, in <module>
- sleep_after_check_mem()
- File "/usr/sbin/nohang", line 1805, in sleep_after_check_mem
- round(t_zram, 2)
- UnboundLocalError: local variable 't_zram' referenced before assignment
Advertisement
Add Comment
Please, Sign In to add comment