qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

qBittorrent taking forever to close at shutdown

Open CreaGab opened this issue 2 years ago • 8 comments

qBittorrent & operating system versions

qBittorrent: 4.5.3 x64 OS: Win 11 Pro 22H2 (10.0.22621)

What is the problem?

My PC doesn't shut down because qBittorrent is not closing. After around 30 seconds the PC just logs out of user. I have some seeds active, but I think the latest version is causing the problem. Very annoying because of power usage.

Steps to reproduce

  1. Program must be running
  2. Shutting down PC

Additional context

No response

Log(s) & preferences file(s)

No response

CreaGab avatar Jun 07 '23 22:06 CreaGab

I have the same issue: exiting from qbt is very slow. Version 4.5.2 was already on the slow side but 4.5.3 got worse.

nonedark2008 avatar Jun 09 '23 00:06 nonedark2008

How many torrents do you have in the client? If there are many, try setting these values 2023-06-09_140630 https://github.com/qbittorrent/qBittorrent/issues/18697

stalkerok avatar Jun 09 '23 11:06 stalkerok

How many torrents do you have in the client? If there are many, try setting these values 2023-06-09_140630 #18697

I only seed two Files.

CreaGab avatar Jun 09 '23 11:06 CreaGab

How many trackers do you have in these torrents? Still, try setting the timeout value to 0 or 1.

stalkerok avatar Jun 09 '23 12:06 stalkerok

How many trackers do you have in these torrents? Still, try setting the timeout value to 0 or 1.

It helped a lot setting it to 1 second. Thanks!

CreaGab avatar Jun 09 '23 21:06 CreaGab

How many trackers do you have in these torrents? Still, try setting the timeout value to 0 or 1.

Looks like it helped me as well. Had 20 torrents: 19 with 1 tracker and 1 torrent with 21 trackers.

nonedark2008 avatar Jun 10 '23 07:06 nonedark2008

Maybe this workaround is good for a person who has 20 torrents in his client. But if you have "more" the failure still exists. For mit it looks like v 4.5.3 does no proper send stop signals to the tracker. In v 4.5.2 i had no problems with it....

Couchchief avatar Jun 13 '23 05:06 Couchchief

Someone somewhere suggested: Tools>Options>Adanved>max_concurrent_http_announces

Set that to 500 instead of 50.

qB still delays the shutdown a little, but Windows seems to shutdown now. I have 1k+ torrents.

Paft avatar Jun 16 '24 20:06 Paft

This ticket has been closed.


Closure Reason: being "out-of-date", and thus either most likely resolved in recent versions or no longer applicable.


  • If you experience the reported problem or similar in the latest version, please open a new issue report with the requested information in the issue template.

  • Due to the changes made to the qBittorrent code and its dependencies over time, the exact cause of your problem could be totally different than the original one, despite the visible symptoms of the bug being similar.

  • Thus, providing relevant updated information is crucial to find and fix the root cause of a recurrent problem or regression.

  • A new issue report with relevant updated data gathered from the latest version is preferable to necroing an old report with a comment like "still happens in version x.y.z", even if you think the bug is the same, or suspect of a regression.

  • Thank you for your contribution(s).


NOTE: This ticket will be locked in ~30 Days to avoid any necroing.

xavier2k6 avatar Apr 04 '25 20:04 xavier2k6