coturn log can make EmuComp run out of space
As a special case of #9, EmuComp instances can easily run out of space due to excessive coturn logging.
The log shows in both Docker's log file (/var/lib/docker/containers/*/*-json.log
) and systemd's journal via eaas.service
. The latter is properly truncated by systemd-journald to not take more than 4 GiB (https://www.freedesktop.org/software/systemd/man/latest/journald.conf.html#SystemMaxUse), the former can grow indefinitely.
As a workaround, we might want to deactivate coturn's logging.
🔥 🔨 Manually truncating log files (deleting them will probably not help)
df -h /
sudo docker exec coturn truncate --size 0 /var/log/coturn/turnserver.log
sudo truncate --size 0 "$(sudo docker inspect --format={{.LogPath}} coturn)"
df -h /
Edited by Rafael Gieschke