diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-12-17 18:52:37 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-12-17 18:52:37 +0300 |
commit | 515f8b22c0b81675207626aad11eeba0cee2c48c (patch) | |
tree | bbcc40668d217b74e28f7fd55718021b5d17011d /test | |
parent | Merge pull request #2167 from weiss/last-pep-items-to-owner (diff) |
Rewrite ejabberd system monitor
Previous version was inefficient: it had a lot of false positives
along with a lot of false negatives, making its usage pointless.
The new verion is based on memsup(3erl) application: the OOM watchdog is
only started when total OS memory consumption is more than 80%.
A watchdog periodically inspects all running processes and collects
statistics about overloaded ones (those queueing a lot of messages).
If the OOM killer is enabled (`oom_killer: true`), all overloaded
processes would be killed. By default, OOM killer is enabled.
When memory consumption is back to normal, the OOM watchdog is stopped.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions