Disable "Excessive resource usage" mail when PT_USERKILL=0

Post Reply
geekytone
Junior Member
Posts: 24
Joined: 04 Aug 2020, 13:58

Disable "Excessive resource usage" mail when PT_USERKILL=0

Post by geekytone »

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?
Post Reply