Make ENOMEM handleable by wd-repair
Brought to you by:
meskes,
paulcrawford
ENOMEM is not handleable currently by watchdog. However, when the available
memory drops below the configured value that does not mean that the system is
already out of memory and indeed still in a recoverable state.
This patch allow ENOMEM to be handled by wd-repair.
(Forgot to add attachement)
Thinking about this. While it is true that some systems might be recoverable from out of memory, using the watchdog repair to do so suggests known processes with bad behaviour that might better be fixed or constrained by ulimit or systemd's cgroups capability.