It has been pleasing to see Synology incorporate more sensible values for
However, I am having considerable difficulty setting a persistent value by editing /etc/sysctl.conf. I can add the extra parameter and value ok and running a sysctl -p does load and activate it but the new value does not survive a reboot. The new value does remain in the modified /etc/sysctl.conf but post-reboot the value shown in
Does anyone know how to make a persistent change to the

️
vm.min_free_kbytes
in later versions of DSM. Two of my 3 NASes have what I consider reasonable values set as default, so no longer need editing. For the third I would like to increase the value from 65536kB
to 131072kB
(I have 32GB of RAM).However, I am having considerable difficulty setting a persistent value by editing /etc/sysctl.conf. I can add the extra parameter and value ok and running a sysctl -p does load and activate it but the new value does not survive a reboot. The new value does remain in the modified /etc/sysctl.conf but post-reboot the value shown in
sysctl -n vm.min_free_kbytes
reverts to the original. It is if the sysctl.conf
file is not being read during boot.
Code:
root@R:~# sysctl -n vm.min_free_kbytes
65536
root@R:~# vi /etc/sysctl.conf
root@R:~# sysctl -n vm.min_free_kbytes
65536
root@R:~# sysctl -w vm.min_free_kbytes=131072
vm.min_free_kbytes = 131072
root@R:~# sysctl -p
kernel.panic = 3
net.core.somaxconn = 65535
net.ipv4.tcp_tw_reuse = 1
vm.min_free_kbytes = 131072
root@R:~# sysctl -n vm.min_free_kbytes
131072
root@R:~#
# Post-reboot...
root@R:~# sysctl -n vm.min_free_kbytes
65536
root@R:~# cat /etc/sysctl.conf
kernel.panic = 3
net.core.somaxconn = 65535
net.ipv4.tcp_tw_reuse = 1
vm.min_free_kbytes = 131072
root@R:~# sysctl -n vm.min_free_kbytes
65536
Does anyone know how to make a persistent change to the
vm.min_free_kbytes
value?
