LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

High CPU usage on cRIO-9038 when no vi is running

We have a complex application that runs on a CompactRIO, Same application runs on different cRIO NI-9038, 
But one of the cRIO shows 100% CPU usage on either of the core. Restarting the cRIO does not help recover CPU usage. 
The same can be observed in "RT Get CPU Loads" vi and in "NI Distributed System Manager".

 

The following images shows the CPU 0 is 100% and CPU 1 is 1.27%

sumit04_0-1676440164525.png

 

No VI running on target

sumit04_1-1676440354132.png

 

Alert when CPU usage greater than 85%

sumit04_2-1676440476021.png

Has anybody faced this previously?

Best Regards
Sumit Memane
CLAD, CTD
0 Kudos
Message 1 of 3
(870 Views)

Very interesting situation. After you reboot the cRIO-9038, is rtexe running?

One of my concern is, even if rebooted, rtexe was running and consuming CPU usage.

 

If not, how about other cRIOs CPU?

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 3
(853 Views)

How comfortable are you with ssh? or the console interface?

 

This is an NI LinuxRT target, so you could go into it and run the `top` command to see which process is using it.

 

As the previous poster said, this could be because the RTEXE is still running. This will run after a restart.

 

Do you use the scan engine? That could also be a culprit, but your screenshots show the CPU is used in the normal priority, and this would typically run at a higher priority.

James Mc
========
CLA and cRIO Fanatic
My writings on LabVIEW Development are at devs.wiresmithtech.com
Message 3 of 3
(821 Views)