Author Topic: qBittorrent failed listening on interface 0.0.0.0 port: TCP/8999. Reason: Too ma  (Read 528 times)

gbonk

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
"qBittorrent failed listening on interface 0.0.0.0 port: TCP/8999. Reason: Too many open files"

The # of connections, Max torrents etc are all set to their defaults.

I'm still getting this error even after already increasing the # of file handles on my linux box.

Running qBittorrent 4.1.5.99~201903251247-6693-8f6c305~ubuntu18.04.1 on Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-46-generic x86_64)

Could this be a cause of my NAS ( Synology ) or my Firewall ( Ubiquiti USG ) ???

My ulimits are set as follows,

ulimit -a
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 62959
max locked memory       (kbytes, -l) 16384
max memory size         (kbytes, -m) unlimited
open files                      (-n) 65535
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 65535
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited



rrrevin

  • Member
  • **
  • Posts: 25
  • Karma: +1/-1
    • View Profile
Nothing to do with your NAS or your firewall. It's your process limits.
"open files" is set to 65535. How many torrents are you running? Really? Unless it's in the thousands, that should not be an issue.
Try also reducing the number of connections in qbittorrent, that could be set way to high.