event scripts: add logging for low memory conditions
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 9 Feb 2010 02:16:35 +0000 (12:46 +1030)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 9 Feb 2010 20:38:08 +0000 (07:38 +1100)
commit7530a8885c4df8e0161a2953f2cbfee0ed3421eb
tree0990edb2cc0370778a35755954bdc6d43442e7ff
parentf382cf76660b48cfc4391247219a442e5aeb1128
event scripts: add logging for low memory conditions

We should never enter swap; if we do, show the memory state of the machine and the process list.  This will help us diagnose what caused the condition before it's too late and the box starts OOM-killing processes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
config/events.d/00.ctdb