#1
|
|||
|
|||
high CPU load in JD2
in reference to this thread:
https://board.jdownloader.org/showthread.php?t=85009 when JD2 is not able to download files, it causes extreme CPU load while iterating through the list of queued files. on my laptop, the CPU fan runs at full speed. how to reproduce: - add a lot of files to the download queue - make sure that JD2 can't access the download directory (i.e. make it a symlink to a non-existing directory or remove permissions for the JD user) - start downloads - check CPU load another way, but not easy to reproduce: - add a lot of files from hoster X - start downloads - if hoster X denies downloading of each file (i.e. limit reached, file not found, waiting period), the CPU load goes to max. I usually don't notice it on the fanless desktop, but it is annoying on the laptop. Fedora 30 Linux openjdk version "1.8.0_252" OpenJDK Runtime Environment (build 1.8.0_252-b09) OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode) hth. |
#2
|
||||
|
||||
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#3
|
|||
|
|||
04.08.20 21.51.37 <--> 04.08.20 21.55.32 jdlog://8627125302851/
download directory = symlink to a volume that isn't mounted JD reports "invalid download directory" CPU load goes up to 200%, CPU fan at max speed Last edited by woswasi; 04.08.2020 at 21:58. |
#4
|
||||
|
||||
believe you must save to a path that is mounted to the system. For instance on windows we do not recommend saving to network paths \\systemname\path, but to map that path to a drive path, aka e:\
JDownloader doesn't follow symbolic links .lnk (windows) keep in mind that latency on network paths is higher than localised devices. this lag could cause more delays than what you would normally expect. I don't think it should drive up cpu loads, more waiting for dupe checking etc.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] Last edited by raztoki; 06.08.2020 at 17:31. |
#5
|
||||
|
||||
* additional information provided by Jiaz:
"invalid download directory"-> Each download will be checked and many files = tight loop = high cpu usage Once all downloads are skipped, JD should stop and CPU load should go down again. -psp-
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
Thread Tools | |
Display Modes | |
|
|