So are you saying that I should not touch the ulimit for the webserver?
I only saw one. So I figured I should do it while my check-job is running and indeed, it gave me two this time. But it was the first one that was the pid of the CLI.
$ sudo lsof -p 20503
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
duplicacy 20503 root cwd DIR 0,49 3 389369 /srv/NAS/duplicacy/duplicacy-web/repositories/localhost/all
duplicacy 20503 root rtd DIR 8,2 4096 2 /
duplicacy 20503 root txt REG 8,2 26806950 524332 /.duplicacy-web/bin/duplicacy_linux_x64_2.3.0
duplicacy 20503 root 0r CHR 1,3 0t0 6 /dev/null
duplicacy 20503 root 1w FIFO 0,12 0t0 40321032 pipe
duplicacy 20503 root 2w CHR 1,3 0t0 6 /dev/null
duplicacy 20503 root 3u sock 0,9 0t0 40320865 protocol: TCP
duplicacy 20503 root 4u a_inode 0,13 0 10602 [eventpoll]
duplicacy 20503 root 5u sock 0,9 0t0 40320870 protocol: TCP
duplicacy 20503 root 6u IPv4 40321058 0t0 TCP server:38002->api13.pcloud.com:https (ESTABLISHED)
$
So what does this tell me? Doesn’t look like the CLI has an awful lot of files open…