mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-26 10:23:48 +01:00
Drop the caches before starting unbound
This reduces memory pressure.
This commit is contained in:
parent
37bacef22c
commit
f5f3bf4017
@ -99,4 +99,6 @@ fi
|
|||||||
|
|
||||||
mkdir -p /opt/unbound/etc/unbound/zones
|
mkdir -p /opt/unbound/etc/unbound/zones
|
||||||
|
|
||||||
|
echo 3 > /proc/sys/vm/drop_caches 2> /dev/null
|
||||||
|
|
||||||
exec /opt/unbound/sbin/unbound
|
exec /opt/unbound/sbin/unbound
|
||||||
|
Loading…
Reference in New Issue
Block a user