You are not logged in.
Recently, deluge has been refusing to add new torrents, and journalctl shows:
deluged[613]: [ERROR ] 00:01:03 torrentmanager:854 Unable to save /srv/deluge/.config/deluge/state/torrents.fastresume: [Errno 24] Too many open files: '/srv/deluge/.config/deluge/state/torrents.fastresume.tmp'
I've modified /etc/sysctl.d/99-sysctl.conf with this entry:
fs.file-max = 2097152
And rebooted, but the problem persists.
I've also ran
lsof | awk '{ print $2 " " $1; }' | sort -rn | uniq -c | sort -rn | head -20
As root, and I get:
161304 628 java
6303 627 Plex\x20M
2340 631 mono
1782 1837 mongod
1624 625 python2
1081 2352 Plex\x20T
910 785 Plex\x20S
832 972 Plex\x20T
805 623 deluged
650 2706 Plex\x20S
650 2616 Plex\x20S
600 2731 Plex\x20S
600 2679 Plex\x20S
600 1862 Plex\x20S
399 632 python2
378 805 lightdm-g
324 649 Xorg
270 535 polkitd
264 383 NetworkMa
199 695 smbd
So basically the top three offenders are Java (Unifi) Plex, mono & mongod (also Unifi).
Am I on the right track? Thanks!
I've started to prune my Unifi database, hopefully that will help...
Last edited by yochaigal (2018-03-07 00:35:05)
Offline
ulimit -n 2048, start deluged from the same shell, see whether that works.
Offline
Stopping Unifi seems to have resolved this issue.
Offline