-
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
Nohang with post_kill_exe #132
Comments
below is my nohang.conf nohang -c /etc/nohang/nohang.conf --check
7.1. Ignore positive oom_score_adj 7.2. Adjusting badness of processes by matching with regular expressions
|
The Sorry it's not mentioned in the documentation. You can configure part For example:
|
I don't need to change the soft correction action, my post_kill_exe is to execute curl to send a notification to telegram after hard correction |
Here is the log 2023-08-10 16:53:26,460: >>=== STARTING implement_corrective_action() ====>> |
I compared and found that when post_kill_exe is executed normally, there will be this line in the log, but the log I provided does not have this line, so post_kill_exe is not executed |
does not have this line, because it is soft corrective action:
|
The process takes some time to complete. The hard threshold was not exceeded (in this log). |
Could you please provide logs with HARD corrective action and |
Is there a trigger like post_kill_exe that can be used in soft corrective action? |
|
I will try for it, any problem will update again, thank you |
Can this be placed at the end of the config file? Or does it have to be in part 8? |
Can be placed anywhere in the configuration file. |
I have configured post_kill_exe in nohang.conf to execute certain actions after killing a process. However, I've noticed that post_kill_exe is not triggered consistently for every kill event.
It seems that it is triggered when the message "The victim became a zombie in 0.01s" is displayed, but not when "The victim doesn't respond on corrective action in 0.031s" is displayed.
The text was updated successfully, but these errors were encountered: