Browse Source

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 <bobafetthotmail@gmail.com>
[bumped PKG_RELEASE]
Signed-off-by: Paul Spooren <mail@aparcar.org>
lilik-openwrt-22.03
Alberto Bursi 4 years ago
committed by Paul Spooren
parent
commit
28bcd19557
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      utils/syncthing/Makefile
  2. +1
    -0
      utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf

+ 1
- 1
utils/syncthing/Makefile View File

@ -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)


+ 1
- 0
utils/syncthing/files/etc/sysctl.d/90-syncthing-inotify.conf View File

@ -0,0 +1 @@
fs.inotify.max_user_watches=204800

Loading…
Cancel
Save