diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-06-21 14:35:19 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2018-06-21 14:35:19 +0300 |
commit | 55f8aa1b22802c8e38feee6671814d9e717eac6e (patch) | |
tree | 6f4514caea88dfd23a6c8e4a16663ae0d289a3ab /src/ejabberd_sip.erl | |
parent | Guard against pres_last=undefined in mod_offline (diff) |
Add new options for OOM watchdog
* oom_watermark: 1..100
Start OOM watchdog only when system memory usage exceeds
this value in percents. When the usage drops below the value,
OOM watchdog is stopped. The default is 80 (percents).
Note that once OOM watchdog is started, it performs full garbage
collection periodically: this can be seen as spikes in CPU
utilization and drops in RAM usage. If your system is permanently
above the watermark, it may cause significant CPU overhead.
* oom_queue: positive integer
Only trigger OOM killer when total amount of messages in all queues
of all Erlang processes is above this value. The default is 10000.
Note that this value only takes effect when `oom_killer` is set
to `true` (this is the default). Otherwise, only a warning will
be logged.
Diffstat (limited to 'src/ejabberd_sip.erl')
0 files changed, 0 insertions, 0 deletions