docker-crashplan-pro
docker-crashplan-pro copied to clipboard
Added script to readme to automatically update fs.inotify.max_user_watches
Hi jlessage,
I've added a script to the readme to automatically update the fs.inotify.max_user_watches= during synology startup. This way it should persist during reboots.
Devedse
Is this needed if one sets the limit in /etc.defaults/sysctl.conf
?
@jlesage , I think it is, my /etc.defaults/sysctl.conf
file contains this (for about a year or so now):
kernel.panic = 3
net.core.somaxconn = 1048576
net.ipv4.tcp_tw_reuse = 1
fs.inotify.max_user_watches=104857600
However, it seems that once my Synology system updates, my /etc/sysctl.conf
contains the following information:
kernel.panic = 3
net.core.somaxconn = 65535
net.ipv4.tcp_tw_reuse = 1
So it doesn't seem to take the defaults file into account.
Hi @jlesage and great thank to you for your work. Merci Josselin !!
I confirm it is working at the /etc/sysctl.conf
location.
Is a sudo sysctl -p /etc/sysctl.conf
at the end of the script wouldn't be useful to make the change effective @devedse ?
Unless the service is started after startup schelude task but I guess not :-) ?