iot-core-azure-dm-client icon indicating copy to clipboard operation
iot-core-azure-dm-client copied to clipboard

CPU Usage 100%

Open YAJeff opened this issue 6 years ago • 0 comments

After running for one hour, the CPU becomes maxed out. This can also negatively impact your internet connection with multiple devices connected at once. For us, we watched it completely take down our internet. (Granted our ISP should have been able to handle the number of packets)

What we observed is after one hour, Limpet.exe is started hundreds, maybe thousands, of times. This time can be shortened by changing the token expiration to a small value. But even with just 1 minute, you will have to wait 10 minutes before seeing the issue.

We fixed it by checking when the connection state changes, if refresh connection is already being called, then do nothing.

YAJeff avatar Sep 06 '18 14:09 YAJeff