|Anonymous | Login | Signup for a new account||2019-09-15 11:44 CEST|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000499||YaCy||[All Projects] General||public||2014-11-05 17:27||2016-09-21 20:10|
|Product Version||YaCy 1.8|
|Target Version||Fixed in Version|
|Summary||0000499: unacceptably high CPU usage on startup|
|Description||i recommended someone to try yacy: they did so. within under 3 minutes they terminated it due to the completely unreasonably high CPU usage (300%).|
|Steps To Reproduce||1) install the software|
2) wait 3 minutes
3) watch computer overheat.
|Additional Information||this can and should be solved as a priority! it is not hard to monitor CPU usage and to use "sleep" statements to keep the CPU usage down to acceptable levels. many server applications (exim4, postfix and others) do exactly this so it is not without precedent.|
this should be considered to be a top priority because anyone considering installing yacy will hardly be prepared to leave it running if it makes their computer completely unusable, or, worst case, actually destroys their laptop through overheating.
you should therefore also consider adding ACPI (temperature) monitoring as well.
|Tags||No tags attached.|
As mentionned by sixcooler in the forum (http://forum.yacy-websuche.de/viewtopic.php?f=18&t=5816#p33015 [^]), the /PerformanceQueues_p.html page let you set a maximum system load for YaCy tasks.
Also with latest YaCy versions, I personally did not notice computer overheat more than reasonnable at or after startup. CPU usage peaks rather occur when searching intensively or when crawling websites.
If your system mention sometimes 300% CPU usage, it is probably not "unreasonably high", but rather that you have multiples processor cores and YaCy effectively use them by processing concurrent tasks on these cores.
If 3Minutes of full CPU-usage will harm your computer, there must be something wrong on you cooling parts.
On the other hand I can not imagine what your YaCy is doing after start and using full CPU for Minutes.
Please give Thread statistics (/Threaddump_p.html) from that situation.
I also have this issue. I let it run for 24 hours and CPU usage was 100% during all that time (i.e. CPU time reported by top is exactly the total time during which it had been running).
Note that workaround provided by sixcooler to limit load for yacy tasks does not work because it is obviously above any limit (which is default in my case).
I'm using the latest version from git.
Please advise which additional information you need.
|2014-11-05 17:27||lkcl||New Issue|
|2016-08-09 03:01||luc||Note Added: 0001275|
|2016-08-09 08:28||sixcooler||Note Added: 0001277|
|2016-09-21 19:51||Pythagoras||Note Added: 0001298|
|Copyright © 2000 - 2019 MantisBT Team|