|
#1
|
|||
|
|||
100% CPU while downloading
I'm seeing 100% CPU usage while downloading, but normal CPU usage when "Stop Downloads, but finish running ones" is engaged. Strongly suspect this is an issue with JDownloader cycling constantly through the download list without limiting itself, possibly tied to the real-debrid plugin.
Bandwidth and download speed don't seem to be relevant factors. 100% CPU usage happens whether there's one download at 30kB/s or 10 totaling 20MB/s. Turning on "Stop Downloads, but finish running ones" immediately drops CPU usage to much lower levels, even with several downloads running. Hosts on my download list include uploaded, mega, 1fichier, fileboom, keep2share, filejoker, but I can't tell if this behavior is tied to any of them. It's not related to actual transfers from any particular hoster. Also using real-debrid, and the real-debrid plugin may be involved somehow. Tried deactivating it and CPU usage dropped, but so did transfers, so it's not clear if that's where the problem is. On windows, 16GB ram, JDownloader set to use 1GB, actual usage is around 300MB. System resources aren't an issue. |
#2
|
||||
|
||||
Hi,
this possibly is a known issue which only happens for https downloads. Please search the forum for "cpu ssl". Also, please post your hardware setup here and a log: Please post your log-ID here | bitte poste deine Log-ID hier. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
I don't think SSL is likely to be the issue here. SSL is turned off in the real-debrid plugin. It's not turned off in individual hoster plugins (like uploaded.to) so I don't know if that affects things, but I've noticed that DNS requests are taking up significant CPU resources (20%+) when this is happening. As soon as "Stop Downloads, but finish running ones" is turned on, that behavior stops and CPU usage drops to normal levels, even if transfer speeds are high. If SSL were causing issues, I'd expect CPU usage to scale with transfer speeds, but that's doesn't seem to matter much.
Hardware is an i5-7700HQ, 16GB ram. Windows 10 is fully updated. Tried to get logs, but I just got tons of error messages. Tried restarted jDownloader a bunch of times, but the errors were consistent: Last edited by Jiaz; 17.04.2020 at 19:12. |
#4
|
|||
|
|||
Is this being looked at? I never got a response and it's still tagged as user feedback required. I still have the problem inconsistently, and it still seems tied to runaway DNS requests when it does happen.
|
#5
|
||||
|
||||
Quote:
You logs are too large for upload Quote:
Now wait for high cpu usage, stop downloads, create log and post shown logID here
__________________
JD-Dev & Server-Admin |
#6
|
|||
|
|||
Quote:
Here's the log I just was able to make: 17.04.20 17.58.41 <--> 17.04.20 18.00.25 jdlog://7587815302851/ |
#7
|
||||
|
||||
Jiaz is working on that issue.
Seems like a lot of real-debrid URLs + retries + a lot of URLs in linklist is like frying your CPU ... -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#8
|
||||
|
||||
Please try again with next core update. Real-Debrid plugin (and others) could lead to many necessary *is connection working/offline* checks which have encountered and were part of the log. That lead to tight loop of: JD try next link -> link currently temp. unavailable -> check online status -> next link and so on and on...when you have MANY links in list, and max downloads higher number than current running, then JDownloader will *burn* through the list causing logs of unnecessary checks
__________________
JD-Dev & Server-Admin |
#9
|
|||
|
|||
Encountered this and am surprised this is still a thing. Shouldn't it be possible to add some timers to not cause infinite loops?
Had to lower max concurrent downloads to current amount of transfers to cut the CPU usage. |
#10
|
||||
|
||||
Hi choin,
this is most likely not an "infinite loop" issue. Please read this: https://support.jdownloader.org/Know...ng-downloading If you still think you found a bug, please let us know how to reproduce that one and provide a log. Please post your log-ID here | bitte poste deine Log-ID hier. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|