Hello *,
on a machine that was working OK, and no configuration changes made recently, I am seeing the following immediately (less then a minute) after start:
WARNING: Listen (BEP/tcp): Accepting connection: accept tcp [::]:22000: accept4: too many open files
su - syncuser -c ‘ulimit -aHS | grep open’ -s '/bin/bash’ open files (-n) 500000
cat /proc/$(pidof syncthing)/limits | grep open Max open files 4096
ls -lah /proc/$(pidof syncthing)/fd* | wc -l 261
(few moment later)
ls -lah /proc/$(pidof syncthing)/fd* | wc -l 8201
(few moment later)
ls -lah /proc/$(pidof syncthing)/fd* | wc -l 259
(few moment later)
ls -lah /proc/$(pidof syncthing)/fd* | wc -l 8201
… and so on, up and down between 200 and 8000
The only notable thing that happened recently was that machine had unclean shutdown and I had to remove CURRENT and LOCK files. Database was apparently repaired on first start.
Searching for similar errors did not come up with much…
Any suggestions very much appreciated
Thanks, Andrej