"/etc/sysctl.conf" not run at boot
Posted: 09 Apr 2020, 15:13
Hello.
I'm using PLEX as multimedia server with a big music library (30k folders). To speed up the database update with changes I've included "fs.inotify.max_user_watches = 32768" in "/etc/sysctl.conf", the "sysctl -p" command activates it. After reboot the value returns to 8192. I've added the "sysctl" command as @reboot process with "crontab" as temporary solution and now the six configuration values are run at boot time.
=====================================
net.ipv4.tcp_syncookies = 0
net.ipv4.tcp_max_syn_backlog = 4096
net.core.netdev_max_backlog = 4096
net.core.somaxconn = 4096
vm.overcommit_memory = 1
echo fs.inotify.max_user_watches = 32768
====================================
@TERRAMASTER SUPPORT: Can you pls check the system configuration to run "/etc/sysctl.conf" as system boot?
Thanks
I'm using PLEX as multimedia server with a big music library (30k folders). To speed up the database update with changes I've included "fs.inotify.max_user_watches = 32768" in "/etc/sysctl.conf", the "sysctl -p" command activates it. After reboot the value returns to 8192. I've added the "sysctl" command as @reboot process with "crontab" as temporary solution and now the six configuration values are run at boot time.
=====================================
net.ipv4.tcp_syncookies = 0
net.ipv4.tcp_max_syn_backlog = 4096
net.core.netdev_max_backlog = 4096
net.core.somaxconn = 4096
vm.overcommit_memory = 1
echo fs.inotify.max_user_watches = 32768
====================================
@TERRAMASTER SUPPORT: Can you pls check the system configuration to run "/etc/sysctl.conf" as system boot?
Thanks