View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000499YaCy[All Projects] Generalpublic2014-11-05 17:272016-09-21 20:10
Assigned To 
PlatformOSOS Version
Product VersionYaCy 1.8 
Target VersionFixed in Version 
Summary0000499: unacceptably high CPU usage on startup
Descriptioni 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 Reproduce1) install the software
2) wait 3 minutes
3) watch computer overheat.
Additional Informationthis 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
luc (reporter)
2016-08-09 03:01

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.
sixcooler (developer)
2016-08-09 08:28


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.

Cu, sixcooler.
Pythagoras (reporter)
2016-09-21 19:51


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.

- Issue History
Date Modified Username Field Change
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 - 2020 MantisBT Team
Powered by Mantis Bugtracker