Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5.0.0 qBittorrent Vesion locking up when re-checking or moving files #21420

Open
widowshyper opened this issue Sep 30, 2024 · 17 comments
Open

5.0.0 qBittorrent Vesion locking up when re-checking or moving files #21420

widowshyper opened this issue Sep 30, 2024 · 17 comments

Comments

@widowshyper
Copy link

widowshyper commented Sep 30, 2024

qBittorrent & operating system versions

qBittorrent: 5.0.0
OS: Windows Server 2022 build: 20348.2700 (10.0.20348)

What is the problem?

Program locking up whenever files need to be re-checked or moved. Sometimes it comes back but this has only been an issue since this morning when I updated to the newest 5.0.0 release.

Steps to reproduce

1: Re-locate a file or re-check a file
2: program will lock up

Additional context

No response

Log(s) & preferences file(s)

No response

@Pentaphon
Copy link

Program locking up whenever files need to be re-checked or moved.

Can't reproduce on Windows 11. qBit is totally responsive when I do this on 5.0.0.

@comminux
Copy link

comminux commented Sep 30, 2024

@widowshyper are you using the regular or lt20 version?

In my case Windows 11 OS was hanging and it was only possible to control mouse cursor. After switching from lt20 to regular qBT v5.0.0 everything became normal.

@widowshyper
Copy link
Author

@widowshyper are you using the regular or lt20 version?

In my case Windows 11 OS was hanging and it was only possible to control the cursor. After switching from lt20 to regular qBT v5.0.0 everything became normal.

I installed the non LTO version of 5.0.0. After posting the bug report I reinstalled the 5.0.0 update and the crashes became less hard crashes and more extreme hanging before returning to normal.

@Aesthermortis
Copy link

I confirm that this is true. It happens to me when I download a 50GB file. At the time of performing the recheck, the interface freezes for 10 seconds. I can hear the hard drive reading like crazy. LT20 version

@HanabishiRecca
Copy link
Contributor

HanabishiRecca commented Oct 1, 2024

I am currently pushing a fix (#21300) for LT20 problems.
If someone wants to help with testing, do the following:

  1. Download the build artifact, unpack and run it.
  2. Go into Settings > Advanced and set Disk IO type (requires restart) to Simple pread/pwrite, then restart the client.
  3. Check if issue still reproduces.

@comminux
Copy link

comminux commented Oct 1, 2024

@HanabishiRecca

After switching from LT20 to the regular version, now only the qBittorrent window freezes, not the entire OS.

I used the build from the artifact, switched the necessary option and restarted the client, but the problem with the program window freezing was not solved.

If necessary, I am ready to perform additional actions to provide more service information.

Windows 11 version: 10.0.22631.4249

P. S. I noticed that according to the task manager there is no load on the HDD (F label).

image

@HanabishiRecca
Copy link
Contributor

HanabishiRecca commented Oct 1, 2024

This change is supposed to make 2.x on par with 1.x. So I guess it is successful in that regard.

As for GUI freezes, could you monitor CPU, RAM and disk usage during the checking process?
Also provide values of the following options: Asynchronous I/O threads, Hashing threads, File pool size.

@HanabishiRecca
Copy link
Contributor

P. S. I noticed that according to the task manager there is no load on the HDD (F label).

Hmm, are you sure it is during the checking process? I would expect at least some activity from the disk when reading the files.

@comminux
Copy link

comminux commented Oct 1, 2024

In this section I only changed the physical memory (RAM) usage limit to 1024 MiB and Disc IO type

image

It seems to me that the program window freezing is a different problem than the one discussed in this issue.

Just in case, I will limit the number of active torrent downloads and uploads to avoid such problems.

@HanabishiRecca
Copy link
Contributor

Try increasing the Hashing threads value. To something like 4-8.

@glassez
Copy link
Member

glassez commented Oct 2, 2024

Try increasing the Hashing threads value. To something like 4-8.

Do you believe separate IO threads affect GUI freezing?
It is likely that there is some related action being performed in the main thread.
Or, if it cannot be confirmed by someone else, there may be some performance issues in the Issue author's system.

@HanabishiRecca
Copy link
Contributor

Do you believe separate IO threads affect GUI freezing?

I thought something like contention could be an issue. It is strange that CPU and disk activity are so low on the screenshot. But no, not really.

It is likely that there is some related action being performed in the main thread.

Do we have some thread locks there?

@stalkerok
Copy link
Contributor

Sometimes it feels like users are just using modified or broken OS.

@Alepica91
Copy link

@widowshyper are you using the regular or lt20 version?

In my case Windows 11 OS was hanging and it was only possible to control mouse cursor. After switching from lt20 to regular qBT v5.0.0 everything became normal.

Same here, i had to switch from LT20 to regular version in Windows 11 , because qbittorent was really often freezing , it was unusable.

@uusea
Copy link

uusea commented Oct 14, 2024

Well, my qBT v5.0.0 is unusable because it was really VERY often freezing!
Windows 11 23H2 OS build 22631.4317

@comminux
Copy link

#21420 (comment)

Try this solution to the problem

@prenetic
Copy link

I'm not running into v5 completely locking up when rechecking, but when torrents are added for say cross-seeding there's a chance that they'll just sit at 0% which won't recover until I completely restart the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants