From 28bcd1955706ebdf33cc03a4c444c2663127a605 Mon Sep 17 00:00:00 2001 From: Alberto Bursi Date: Sun, 5 Jul 2020 00:43:53 +0200 Subject: [PATCH] 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 --- utils/syncthing/Makefile | 2 +- utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf diff --git a/utils/syncthing/Makefile b/utils/syncthing/Makefile index 7fb87931d..011b8afbf 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 000000000..1e65bf95d --- /dev/null +++ b/utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf @@ -0,0 +1 @@ +fs.inotify.max_user_watches=204800