# CPU usage showing "-100%" for gateway

**URL:** <https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [March 14, 2022, 4:45pm UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168 "2022-03-14T16:45:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [March 14, 2022, 4:45pm UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168/1 "2022-03-14T16:45:38Z")

</div>

When I access my Ignition gateway, the CPU usage shows -100%. I’ve tried rebooting the gateway and it didn’t fix the problem.

I’m running Ignition version 8.1.14

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 14, 2022, 4:55pm UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168/2 "2022-03-14T16:55:48Z")

</div>

Which page is it exactly? Can you add a screenshot?

Anything weird to note like running in a VM? What OS and CPU?

---

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [March 14, 2022, 5:06pm UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168/3 "2022-03-14T17:06:44Z")

</div>

It’s the Performance page in the gateway status section. Currently running the gateway from my laptop running Windows 10 Enterprise with an Intel i7-11850H CPU.

 ![chrome_CdwN77HCRu](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/0/20094488eddf29b172024ffe63fabe99c810822a.png)

---

<div class="post-metadata">

**Author:** ![Andrej\_Kovac](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@Andrej\_Kovac](https://forum.inductiveautomation.com/u/Andrej_Kovac)\
**Post date:** [March 28, 2022, 8:21am UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168/4 "2022-03-28T08:21:34Z")

</div>

I noticed the same problem with 2 recently installed gateways. One of them is full Ignition running on desktop (i7-10700K, Win 10 Pro, clean, first-time install), the other one is Edge version running on my laptop (i7-7700HQ, Win 10 Home, multiple version were installed before), both running v8.1.15 in Trial Mode. The value of system tag “CPU Usage” is also -1.

 ![EdgePerformance](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/d/3d59ceec3a77816827016fe7d8f4e367f128f5b7.png)  
 ![IGPerformance](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/9/5998eaea93d13d01dc8f2371d7aa340c132e1c2e.png)

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [March 28, 2022, 9:26pm UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168/5 "2022-03-28T21:26:53Z")

</div>

We get our CPU load from the JVM… Tracing through some of the code on the JVM metrics side of things, I think we’re seeing this bug (where there is a code path that returns `-1`, which we then multiply by 100 to get the CPU load in normal situations):

[https://bugs.openjdk.java.net/browse/JDK-8265104](https://bugs.openjdk.java.net/browse/JDK-8265104)

I haven’t dug deeper yet as to discover the specifics on how this is manifesting though…

---

<div class="post-metadata">

**Author:** ![kcollins](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kcollins/32/19646_2.png) [@kcollins](https://forum.inductiveautomation.com/u/kcollins)\
**Post date:** [May 5, 2022, 3:38pm UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168/6 "2022-05-05T15:38:51Z")

</div>

Cross-posting this here too:

> [@\[Bug-5368\] Ignition Gateway Service User](https://forum.inductiveautomation.com/t/bug-5368-ignition-gateway-service-user/57914/8):
>
> Try adding the user that is running the Ignition Gateway to the Performance Log Users group. You will have to restart the gateway for it to take effect. It looks like this may be required to actually query the performance counters system to retrieve process cpu load.

---

<div class="post-metadata">

**Author:** ![jgoodwill](https://avatars.discourse-cdn.com/v4/letter/j/ba9def/32.png) [@jgoodwill](https://forum.inductiveautomation.com/u/jgoodwill)\
**Post date:** [May 13, 2022, 12:19am UTC](https://forum.inductiveautomation.com/t/cpu-usage-showing-100-for-gateway/57168/7 "2022-05-13T00:19:33Z")

</div>

This one worked for me.
