From: Alberto Bursi Date: Sat, 4 Jul 2020 22:43:53 +0000 (+0200) Subject: syncthing: increase inotify limit X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=28bcd1955706ebdf33cc03a4c444c2663127a605;p=feed%2Fpackages.git syncthing: increase inotify limit default inotify limits at 8k are low for serious usage and the GUI shows errors like "Failed to start filesystem watcher for folder XXXX" increase them with this config file as instructed by syncthing's FAQ. https://docs.syncthing.net/users/ faq.html#inotify-limits Signed-off-by: Alberto Bursi [bumped PKG_RELEASE] Signed-off-by: Paul Spooren --- diff --git a/utils/syncthing/Makefile b/utils/syncthing/Makefile index 7fb87931d3..011b8afbf7 100644 --- a/utils/syncthing/Makefile +++ b/utils/syncthing/Makefile @@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=syncthing PKG_VERSION:=1.6.1 -PKG_RELEASE:=0 +PKG_RELEASE:=1 PKG_SOURCE:=syncthing-source-v$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/syncthing/syncthing/releases/download/v$(PKG_VERSION) diff --git a/utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf b/utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf new file mode 100644 index 0000000000..1e65bf95d2 --- /dev/null +++ b/utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf @@ -0,0 +1 @@ +fs.inotify.max_user_watches=204800