Closed andydupont closed 7 years ago
@andydupont Thanks for reporting!
@mrpau-dev I will not have access to Mac machine until next week, to try and repro this issue, will you maybe be able to try it out before then?
@radinamatic @mrpau-dev Here is another screenshot that shows that KA-Lite's parent process is Launchd, and Launchd's parent process is kernel_task.
the kernal_task is consuming a lot of memory and has a lot of disk activity.
I've encountered this, too, on a friend's Mac. Wasn't able to investigate back then, but it's about time, we investigate it. Thanks for the report @andydupont!
@andydupont Would you be able to install ka-lite from pip? It's to see if the problem is related to the installer and task tray application or the source distribution itself (this repository concerns the source distribution). You can uninstall KA Lite, then run sudo pip install ka-lite
from command line, following which you can run kalite start
.
I also reproduced this issue, I think it's the KA Lite application itself has a problem with CPU usage, we will investigate on it.
From @benjaoming
@andydupont Would you be able to install ka-lite from pip? It's to see if the problem is related to the installer and task tray application or the source distribution itself (this repository concerns the source distribution). You can uninstall KA Lite, then run sudo pip install ka-lite from command line, following which you can run kalite start.
Ben... I will do this, but may not get to it until next week.
Thanks to all for looking into this.
From @benjaoming
@andydupont Would you be able to install ka-lite from pip? It's to see if the problem is related to the installer and task tray application or the source distribution itself (this repository concerns the source distribution). You can uninstall KA Lite, then run sudo pip install ka-lite from command line, following which you can run kalite start.
Ben.... I uninstalled ka-lite and reinstalled from pip. The problem went away. So I think that means that the problem is with the source distribution.... correct?
This issue was moved to learningequality/ka-lite-installers#445
Summary
KA-Lite is contantly using large CPU % when started but idle
System information
How to reproduce
Screenshots
Real-life consequences
I assumed there was some kind of indexing going on so I let it run overnight, but it is still at high CPU usage after 12 hours. We are using this in a remote area where power is limited. The CPU is consuming lots of power doing something. Will this stop after a while?