Package: ejabberd
Version: 17.08-3
Severity: wishlist

Dear maintainer team,

please consider to make ERL_OPTIONS configurable with debconf. Specifically,
this would allow to set ERL_OPTIONS="-env ERL_CRASH_DUMP_BYTES 0"
to prevent Erlang crash dumps from accumulating on a system.  The setting
is in /etc/ejabberd/ejabberdctl.cfg, which symlinks to /etc/default/ejabberd,
which is a Debian conffile.

Adding the option to debconf would help FreedomBox (a Debian pure blend),
where we try to obviate the need of a specialized admin. That's why we
refrain from editing conffiles directly, as it would leave unattended-upgrades
unable to upgrade ejabberd without manual intervention.

Disabling crash dumps is desirable because their unbounded accumulation
can take down the entire system (which actually happens in the wild):
If ejabberd keeps crashing and being continually restarted via systemd, the
dump file accumulation might fill the entire partition, potentially rendering
the system unusable, at a rate of about 4 GiB per day. Such a scenario is
particularly severe for our use-case of single-board computers, and
essentially absent admins.

Thank you for your time and consideration; keep up the great work.
Johannes Keyser

Reply via email to