1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-26 06:13:49 +01:00

Drop the caches before starting unbound

This reduces memory pressure.
This commit is contained in:
Frank Denis 2019-06-29 17:55:11 +02:00
parent 37bacef22c
commit f5f3bf4017

@ -99,4 +99,6 @@ fi
mkdir -p /opt/unbound/etc/unbound/zones
echo 3 > /proc/sys/vm/drop_caches 2> /dev/null
exec /opt/unbound/sbin/unbound