Freezing on 4.3.8 and 4.3.9

Windows specific questions, problems.
TheAyaneru

Freezing on 4.3.8 and 4.3.9

Post by TheAyaneru »

I don't know if anyone else is experiencing this issue which is why I'm bringing it up. It could be an error on my part because of incorrect settings.
When I updated to 4.3.8, the program started to freeze nearly constantly after roughly an hour or two of running. When I reinstalled 4.3.7, the freezing stopped all together. I just saw the 4.3.9 update and decided to try it out, but once again the program began to freeze just like it had done before.
I had never experienced this issue before with any qbittorrent version, so it seems to only affect 4.3.8 and 4.3.9. As of right now, I am still using 4.3.7 and it works flawlessly.
gspbeetle

Re: Freezing on 4.3.8 and 4.3.9

Post by gspbeetle »

Same experience.
Have 2 machines running qBittorrent with the same settings. Only difference is number of tasks and the hardware.
qB takes way longer to start and also may freeze on 4.3.8+ for the one that have a lot of tasks (5000+) but better hardware.

In fact 4.3.6 is the most stable version for running lots of active tasks due to newer versions are plagued by some sort of memory bug.
BazzFLL

Re: Freezing on 4.3.8 and 4.3.9

Post by BazzFLL »

THANK YOU!!! I uninstalled ver. 4.3.9, and reverted back to 4.3.6, and - SUCCESS!!! All is working again, with no freezing or any other issues so far. WHEW!!! Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!
TheAyaneru

Re: Freezing on 4.3.8 and 4.3.9

Post by TheAyaneru »

It's good to know that this is happening for others as well. On closer inspection, it looks like 4.3.6 and 4.3.7 are also looking bad for memory. It might be time to migrate to a different client.
gspbeetle

Re: Freezing on 4.3.8 and 4.3.9

Post by gspbeetle »

Yea, keep rolling back to an older version until it works for you
There are people here still running 4.2.x or even 4.1.x because that version work best for them.
BazzFLL

Re: Freezing on 4.3.8 and 4.3.9

Post by BazzFLL »

Bad news - when I went back to download more torrents, the problem resumed. I uninstalled ver. 4.3.6, & tried reverting to 4.3.1, & no change. WE NEED A FUNCTIONING BITTORRENT CLIENT FOR WINDOWS 10 & 11 64-BIT !!! Any suggestions, anyone?
User avatar
Peter
Administrator
Administrator
Posts: 2693
Joined: Wed Jul 07, 2010 6:14 pm

Re: Freezing on 4.3.8 and 4.3.9

Post by Peter »

qBittorrent works great on my 11 PCs... :/
javierabadie

Re: Freezing on 4.3.8 and 4.3.9

Post by javierabadie »

same problem here. I register for this problem on the forum. Even reboot the computer was a trouble.
BazzFLL

Re: Freezing on 4.3.8 and 4.3.9

Post by BazzFLL »

TheAyaneru wrote: Thu Nov 18, 2021 8:37 am It's good to know that this is happening for others as well. On closer inspection, it looks like 4.3.6 and 4.3.7 are also looking bad for memory. It might be time to migrate to a different client.
Hi Ayaneru. Can you recommend any other BitTorrent clients for Win 10/11 64-bit that actually WORK?
User avatar
Peter
Administrator
Administrator
Posts: 2693
Joined: Wed Jul 07, 2010 6:14 pm

Re: Freezing on 4.3.8 and 4.3.9

Post by Peter »

What kind of firewall/security software you guys are using?
What processor/setup?
Any third-party stuff?
Do you use RAID? (Ie.: AMD Raid is not supported on 11 atm. But Storage Spaces is, and qBittorrent works superb with Storage Spaces on 11, I tested it.)
Are you running 11 on supported hardware?
Anyone has this happening right off the bat after a clean install?
What are you downloading? Movies? Music? Or something that can trigger Defender and cause the lockup (ie.: programs, games that may contain keygen, crack or exe files.)

It's just kind of weird that every PC I've changed to 11 has qBittorrent running with extreme loads and without any issues. Something must be happening ...
gspbeetle

Re: Freezing on 4.3.8 and 4.3.9

Post by gspbeetle »

For me,
No AV except for windows defender on both Win10 & Win 11
CPU: Ryzen7 3700X ; Ram: 2x 8gb DDR4 2800Mhz ; OS disk on Win10 is a M2 SSD, but Win 11 is a clone using SATA SSD.
Running storage space with two-way mirror on 2x seagate ST8000VN004 for actual downloads.

qB was running fine until 4.3.7+ which stops working.
Can't really summit a bug tracker on github, because not sure what exactly is the issue.
Memory usage is around 1.5k - 2k and internet speed is being bottlenecked by the AV2000 powerline, so all seems fine there.
Not sure is it related, I do have this ghost entry issue since 4.3.x.
4.2.1 & 4.2.5 are also running fine for me, but not the in-between versions.
Cant really recommend 4.1.x because of the saving torrent issue and the even worse crush on startup issue.
Attachments
Ram usage
Ram usage
Capture5.JPG (28.78 KiB) Viewed 4781 times
Quick screenshot for demo only. I do use the official version when testing the new versions
Quick screenshot for demo only. I do use the official version when testing the new versions
Capture.JPG (117.89 KiB) Viewed 4781 times
User avatar
Peter
Administrator
Administrator
Posts: 2693
Joined: Wed Jul 07, 2010 6:14 pm

Re: Freezing on 4.3.8 and 4.3.9

Post by Peter »

I mean if it's the ram usage, that seems like an IO bottleneck.
You can check actual ram usage with "rammap" from Sysinternals. RAID1 for writes is slow as hell. The only way to make it "livable" is by using a Raid controller with RAM cache. Without that, Windows will just use your ram to cache the writes since the array can't keep up. There are programs like Primocache for Windows, but they just delay writes potentially causing data loss (on power loss, BSOD, etc.)

For me, a few values:
(Win 11, NVMe SSD, TLC so bad write speed; QLC/3D will get even worse)

Auto cache - ~1gb ram usage - ~80M/s - disk usage is "OK" (completely saturates my bandwidth)
(no cache) - ~16mb ram usage - ~20M/s - disk usage goes up to 80% (since it has to write immediately)
16mb cache - ~40mb ram usage - ~40M/s - disk usage about 60%
32mb cache - ~70mb ram usage - 60M/s - disk usage 50%

Basically, if you put write cache to auto and if you have plenty of ram, it will use your ram like it should.
Please check if disabling it or setting a hard limit fixes the "problem".

See: https://www.libtorrent.org/reference-Se ... cache_size
"high_performance_seed() min_memory_usage()" section

(I'm still digging for the exact value but git is giving me a hard time atm.)
* disk cache also affects reads btw, so high speed seeding ofc might increase ram usage as well.
TheAyaneru

Re: Freezing on 4.3.8 and 4.3.9

Post by TheAyaneru »

Peter wrote: Sun Nov 21, 2021 9:23 am What kind of firewall/security software you guys are using?
What processor/setup?
Any third-party stuff?
Do you use RAID? (Ie.: AMD Raid is not supported on 11 atm. But Storage Spaces is, and qBittorrent works superb with Storage Spaces on 11, I tested it.)
Are you running 11 on supported hardware?
Anyone has this happening right off the bat after a clean install?
What are you downloading? Movies? Music? Or something that can trigger Defender and cause the lockup (ie.: programs, games that may contain keygen, crack or exe files.)

It's just kind of weird that every PC I've changed to 11 has qBittorrent running with extreme loads and without any issues. Something must be happening ...
This isn't a firewall or security issue. I've looked into this and it's definitely qBitorrent leaking handles and memory. Some sort of resource here is not being freed after allocation and it is causing the entire program to freeze once it's leaked too much
User avatar
Peter
Administrator
Administrator
Posts: 2693
Joined: Wed Jul 07, 2010 6:14 pm

Re: Freezing on 4.3.8 and 4.3.9

Post by Peter »

Yeah, but it should be reproducible.
So if I download ~2TB of data, I should be leaking left and right... but no... that's why I'm curious what's causing it
TheAyaneru

Re: Freezing on 4.3.8 and 4.3.9

Post by TheAyaneru »

BazzFLL wrote: Sat Nov 20, 2021 2:53 pm
TheAyaneru wrote: Thu Nov 18, 2021 8:37 am It's good to know that this is happening for others as well. On closer inspection, it looks like 4.3.6 and 4.3.7 are also looking bad for memory. It might be time to migrate to a different client.
Hi Ayaneru. Can you recommend any other BitTorrent clients for Win 10/11 64-bit that actually WORK?
Right now I'm using Deluge and I don't see any issue with handles at all. It appears to max out around 170 handles and never goes past that region I'll have to use it more to see how it's doing for memory. So far it appears to have a continual increase in memory, but not nearly to the same extent as qBittorrent. Deluge is written in Python which may be a no-go for you.
Post Reply