Disable "Excessive resource usage" mail when PT_USERKILL=0
Posted: 10 Oct 2024, 15:10
Hello,
Due to some requirements, I can't use PT_USERKILL to kill process over PT_USERTIME / PT_USERMEM, I need to use custom script in PT_USER_ACTION to perform advanced checks.
However, I've seen that since I switched PT_USERKILL to 0, I keep receiving "Excessive resource usage" emails, no matter if PT_USERKILL_ALERT is set to 0 or 1.
How can I disable the "Excessive resource usage" email without necesarily having PT_USERKILL set to 1?
Due to some requirements, I can't use PT_USERKILL to kill process over PT_USERTIME / PT_USERMEM, I need to use custom script in PT_USER_ACTION to perform advanced checks.
However, I've seen that since I switched PT_USERKILL to 0, I keep receiving "Excessive resource usage" emails, no matter if PT_USERKILL_ALERT is set to 0 or 1.
How can I disable the "Excessive resource usage" email without necesarily having PT_USERKILL set to 1?