qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.54k stars 4k forks source link

GUI lag or no response in qb 5.0.0/5.0.1 #21740

Open peakvision opened 3 weeks ago

peakvision commented 3 weeks ago

qBittorrent & operating system versions

qBittorrent: 5.0.1 x64 windows Operating system: Windows 11 23H2 22631.4317 Qt: 6.7.3 libtorrent-rasterbar: 2.0.11.0

What is the problem?

qbittorrent windows gui becomes laggy or no response after some seconds of running

Steps to reproduce

QBittorrent windows GUI becomes laggy or no response after some seconds or minutes of running, no log info about this issue with performance logging enabled. A temporary workaround is select a specific network interface card which connects to Internet (in "Options->Advanced->(qBittorrent section->)Network interface") instead of the default value "any interface"(I have multiple NICs in the computer, one of them connected to Internet).

Additional context

This issue happened in old 4.x versions, see https://github.com/qbittorrent/qBittorrent/issues/15373 Some later releases, this issue seemed to be fixed, at least versions of 4.6.x worked fine for me.

Log(s) & preferences file(s)

(N) 2024-11-02T00:55:20 - qBittorrent v5.0.1 started. Process ID: 37320 (N) 2024-11-02T00:55:20 - Using config directory: C:\Users\xxxx\AppData\Roaming\qBittorrent (N) 2024-11-02T00:55:21 - Trying to listen on the following list of IP addresses: "0.0.0.0:xxxxx,[::]:xxxxx" (I) 2024-11-02T00:55:21 - Peer ID: "-qB5010-" (I) 2024-11-02T00:55:21 - HTTP User-Agent: "qBittorrent/5.0.1" (I) 2024-11-02T00:55:21 - Distributed Hash Table (DHT) support: ON (I) 2024-11-02T00:55:21 - Local Peer Discovery support: ON (I) 2024-11-02T00:55:21 - Peer Exchange (PeX) support: ON (I) 2024-11-02T00:55:21 - Anonymous mode: ON (I) 2024-11-02T00:55:21 - Encryption support: FORCED (I) 2024-11-02T00:55:21 - UPnP/NAT-PMP support: ON (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.2.xx". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.2.xx". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.2.x". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.2.x". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.56.x". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.56.x". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.75.x". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.75.x". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.159.x". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "192.168.159.x". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "127.0.0.1". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "127.0.0.1". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "fe80::ccb9:xxxx:xxxx:xxxx%25". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "fe80::ccb9:xxxx:xxxx:yyyy%25". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "fe80::ebba:xxxx:xxxx:xxxx%16". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "fe80::ebba:xxxx:xxxx:xxxx%16". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "fe80::6b47:xxxx:xxxx:xxxx%17". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "fe80::6b47:xxxx:xxxx:xxxx%17". Port: "UTP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "::1". Port: "TCP/xxxxx" (I) 2024-11-02T00:55:21 - Successfully listening on IP. IP: "::1". Port: "UTP/xxxxx" (N) 2024-11-02T00:55:21 - Restored torrent. Torrent: "xxxxx" (N) 2024-11-02T00:55:21 - Restored torrent. Torrent: "xxxxx"

(W) 2024-11-02T01:10:15 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: unknown UPnP error (-1)" (W) 2024-11-02T01:10:15 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: unknown UPnP error (-1)" (I) 2024-11-02T01:10:15 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.2.xx external port: TCP/xxxxx" (I) 2024-11-02T01:10:15 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.2.x external port: TCP/xxxxx" (I) 2024-11-02T01:10:15 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.2.xx external port: UDP/xxxxx" (I) 2024-11-02T01:10:15 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.2.x external port: UDP/xxxxx" (W) 2024-11-02T01:12:51 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.56.1]: no router found" (W) 2024-11-02T01:12:51 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.56.1]: no router found" (W) 2024-11-02T01:12:51 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.75.1]: no router found" (W) 2024-11-02T01:12:51 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.75.1]: no router found" (W) 2024-11-02T01:12:51 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.159.1]: no router found" (W) 2024-11-02T01:12:51 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[192.168.159.1]: no router found" (N) 2024-11-02T01:56:39 - Options saved. (N) 2024-11-02T01:56:39 - Trying to listen on the following list of IP addresses: "{AAC576D9-xxxx-xxxx-xxxx-FBCC455E293D}:xxxxx" (I) 2024-11-02T01:56:39 - Successfully listening on IP. IP: "192.168.2.xx". Port: "TCP/xxxxx" (I) 2024-11-02T01:56:39 - Successfully listening on IP. IP: "192.168.2.xx". Port: "UTP/xxxxx" (I) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.2.81 external port: TCP/xxxxx" (W) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: unknown UPnP error (-1)" (I) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using NAT-PMP. local: 192.168.2.xx external port: UDP/xxxxx" (W) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: unknown UPnP error (-1)" (W) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: unknown UPnP error (-1)" (W) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping failed. Message: "could not map port using UPnP[0.0.0.0]: unknown UPnP error (-1)" (I) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.2.xx external port: TCP/xxxxx" (I) 2024-11-02T01:56:39 - UPnP/NAT-PMP port mapping succeeded. Message: "successfully mapped port using UPnP. local: 192.168.2.xx external port: UDP/xxxxx"

glassez commented 3 weeks ago

How many NICs do you have? Are all of them connected to some networks? How many torrents do you have? How many trackers do you have listed in trackers filter (left side of main window)? Could you provide screenshot of your qBittorrent main window? Could you provide screencast of laggy behavior?

peakvision commented 3 weeks ago

How many NICs do you have? Are all of them connected to some networks? How many torrents do you have? How many trackers do you have listed in trackers filter (left side of main window)? Could you provide screenshot of your qBittorrent main window? Could you provide screencast of laggy behavior?

  1. 2 wired NICs connects to 2 networks(1 Internet and 1 internal network), 1 wired NIC but link down, 2 wireless USB NICs but not connect to any WIFI and no ip addresses. 2 virtualbox virtual NICs, 2 vmware workstation virutal NICs.
  2. 160 torrents, 150 are running.
  3. 160 trackers all but 110 with "other error". 4, 5 see https://github.com/qbittorrent/qBittorrent/issues/15373 2-gif-screenshot included.

In version qbittorrent_4.6.7_lt20_qt6_x64, same hardware and software environment, more torrents are running, and the program works nicely.

HanabishiRecca commented 3 weeks ago

Related:

glassez commented 3 weeks ago

@qbittorrent/bug-handlers Can someone reproduce it? Is it reproducible by just adding several virtual NICs w/o connecting them to any networks?

AngryPhantom commented 3 weeks ago

@glassez No lags on Arch Linux. Added a virtual interface, didn't connect anything in qBittorrent, just browsed the interface.

qBittUser commented 1 week ago

@peakvision

Can you reproduce with qBit v5.0.2?

peakvision commented 5 days ago

@peakvision

Can you reproduce with qBit v5.0.2?

Yes, but seems have some improvements in qbittorrent_5.0.2_qt6_lt20_x64_setup.exe. The frequency of losing response seems decreased, and the no response time seems a bit shorter.