JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 21.07.2020, 17:58
woswasi woswasi is offline
Linkgrabbing Monster
 
Join Date: Mar 2012
Posts: 89
Default 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.
Reply With Quote
  #2  
Old 22.07.2020, 15:24
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,140
Default

Hi,

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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #3  
Old 04.08.2020, 22:55
woswasi woswasi is offline
Linkgrabbing Monster
 
Join Date: Mar 2012
Posts: 89
Default

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 22:58.
Reply With Quote
  #4  
Old 05.08.2020, 05:21
raztoki's Avatar
raztoki raztoki is offline
English Supporter
 
Join Date: Apr 2010
Location: Australia
Posts: 17,659
Default

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 18:31.
Reply With Quote
  #5  
Old 06.08.2020, 18:36
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 71,140
Default

* 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
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 10:24.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.