2016-10-27, 00:28
(2016-10-20, 08:56)Milhouse Wrote:This happened again. One of the CPU cores is stuck at 100%.(2016-10-20, 05:06)smp1 Wrote: I was running build 1010 for a few days now and tonight I noticed a weird issue - one of the CPU cores - "CPU 2" was stuck at 100% load. No idea what triggered this or how to reproduce. I ran "top" via ssh, kodi.bin was using ~120% of the cpu.These kind of issues are not easy to pin down. If you run "top -Hp $(pidof kodi.bin)" you should see all the threads for the kodi.bin process - if the thread creating the CPU load is called LanguageInvoker then it's an add-on causing the problem (unfortunately can't say which add-on). If it's kodi.bin itself then using strace on the kodi.bin process might yield some clues (strace can be installed from one of the LE add-ons, System Tools I think).
# top -Hp $(pidof kodi.bin)
Code:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
813 root 20 0 494548 139720 37624 R 99.9 18.5 949:37.01 kodi.bin
738 root 20 0 494548 139720 37624 S 6.0 18.5 365:38.95 kodi.bin
832 root 21 1 494548 139720 37624 S 0.3 18.5 45:38.81 JobWorker
764 root 21 1 494548 139720 37624 S 0.0 18.5 0:01.48 Announce
765 root 20 0 494548 139720 37624 S 0.0 18.5 0:00.00 FDEventMoni+
785 root 20 0 494548 139720 37624 S 0.0 18.5 208:22.98 ActiveAE
786 root 19 -1 494548 139720 37624 S 0.0 18.5 68:17.47 AESink
787 root 19 -1 494548 139720 37624 S 0.0 18.5 64:10.15 VCHIQ compl+
788 root 19 -1 494548 139720 37624 S 0.0 18.5 10:46.59 HDispmanx N+
789 root 19 -1 494548 139720 37624 S 0.0 18.5 0:00.00 HTV Notify
790 root 19 -1 494548 139720 37624 S 0.0 18.5 0:00.00 HCEC Notify
791 root 19 -1 494548 139720 37624 S 0.0 18.5 11:42.28 AESink
792 root 19 -1 494548 139720 37624 S 0.0 18.5 18:12.24 ILCS_HOST
793 root 20 0 494548 139720 37624 S 0.0 18.5 0:00.00 CRBPWorker
809 root 20 0 494548 139720 37624 S 0.0 18.5 0:29.23 kodi.bin
810 root 21 1 494548 139720 37624 S 0.0 18.5 1:35.88 PeripBusUSB+
812 root 21 1 494548 139720 37624 S 0.0 18.5 0:18.13 PeripBusAdd+
When I run "strace -p 813" it just say: strace: Process 813 attached and thats it.