# Frequent restart of the Ignition services

**URL:** <https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288>\
**Category:** Ignition\
**Tags:** perspective, ignition81\
**Created:** [July 9, 2025, 7:52pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288 "2025-07-09T19:52:39Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![JayR](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@JayR](https://forum.inductiveautomation.com/u/JayR)\
**Post date:** [July 9, 2025, 7:52pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/1 "2025-07-09T19:52:40Z")

</div>

Has anyone else experienced frequent Ignition gateway restarts?  
We’re running a large number of MQTT and Ignition tags, and our server is hosted in a virtual machine (VM).

Just before the most recent restart, I reviewed the log files and noticed the following (see below). I'm wondering if this could be related.

Any insights or similar experiences would be greatly appreciated.

Thanks in advance!

Log 1

INFO | jvm 4 | 2025/07/09 10:12:58 | W [ClockDriftDetector] [10:12:58.230]: Clock drift, degraded performance, or pause-the-world detected.  
INFO | jvm 4 | 2025/07/09 10:12:58 | Max allowed deviation=1000ms, actual deviation=2223ms  
STATUS | wrapper | 2025/07/09 10:13:48 | JVM appears hung: Timed out waiting for signal from JVM. Restarting JVM.  
STATUS | wrapper | 2025/07/09 10:14:00 | JVM exited after being requested to terminate.  
STATUS | wrapper | 2025/07/09 10:14:05 | Reloading Wrapper configuration...  
STATUS | wrapper | 2025/07/09 10:14:05 | Launching a JVM...  
INFO | jvm 5 | 2025/07/09 10:14:06 | WrapperManager: Initializing...  
INFO | jvm 5 | 2025/07/09 10:14:07 | Scheduling logfile maintenance. Last maintenance: Wed Dec 31 19:00:00 EST 1969, events since then: 0

Log 2

STATUS | wrapper | 2025/07/09 15:28:27 | JVM appears hung: Timed out waiting for signal from JVM. Restarting JVM.  
INFO | wrapper | 2025/07/09 15:28:41 | Wrapper Process has not received any CPU time for 14 seconds. Extending timeouts.  
STATUS | wrapper | 2025/07/09 15:28:51 | JVM exited after being requested to terminate.  
STATUS | wrapper | 2025/07/09 15:28:56 | Reloading Wrapper configuration...  
STATUS | wrapper | 2025/07/09 15:28:57 | Launching a JVM...

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [July 9, 2025, 8:02pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/2 "2025-07-09T20:02:28Z")

</div>

Never had that issue... What version? And what OS?

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [July 9, 2025, 8:13pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/3 "2025-07-09T20:13:24Z")

</div>

You are describing performance issues which can be hard to pinpoint without actually seeing the system.

One common reason for the Ignition JVM restarting like this is due to allocated server memory reaching the limit. The reset can occur from the Ignition Server running out of available memory, and would be clearly visible in the Status \> Performance page.

If the overall server itself has no memory issues, and there is nothing abnormal on the performance page, consider contacting [support](https://support.inductiveautomation.com/) to dive deeper into the problem.

Normal "Sharktooth" Memory Trend:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/a/2a16a5e80f470f149f43332403b7b2680237cb9f.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 9, 2025, 10:24pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/4 "2025-07-09T22:24:34Z")

</div>

As noted, memory exhaustion is most likely. It is **vital** on production systems that the memory setting for initial heap size match the max allowance (in `ignition.conf`). Java doesn't give memory back to the OS, and will crash if it can't get the max allowance when needed, so you **must** make it claim what it needs up front.

If that doesn't leave enough RAM for the OS and any other services, boost your hardware allocation.

---

<div class="post-metadata">

**Author:** ![JayR](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@JayR](https://forum.inductiveautomation.com/u/JayR)\
**Post date:** [July 9, 2025, 11:21pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/5 "2025-07-09T23:21:46Z")

</div>

We’ve allocated 64 GB of memory to the Ignition Gateway, so I’m not entirely convinced it’s a memory issue.

We’ve already reached out to support and are currently waiting for a response, as the system is still under monitoring.

You can also clearly see from the image below that the server has been restarting frequently, with visible gaps in operation.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/9/496aa1ef41afed671a2109afb16a21d16d17a972.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/8/c849528bd1604f65e307508109cef8294a62ad97.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [July 9, 2025, 11:39pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/6 "2025-07-09T23:39:02Z")

</div>

One of your events was over 32 seconds long. That's an eternity, and typically happens when using poorly-configured VMs. (If using a VM, have you followed IA's VM configuration white paper?)

Or you have clock warps of that magnitude.

How much actual RAM does that machine (or VM) have?

What are the values in `ignition.conf` for initial and max heap?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 9, 2025, 11:41pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/7 "2025-07-09T23:41:57Z")

</div>

Is your VM resourcing set correctly? i.e. are you dedicating your resources - CPU and memory - to the Ignition VM? Not doing this can result in poor Ignition performance, with pause the world events a common result. Also, host resources should never be over-committed; only give as many resources to VMs as are available by the system, excluding an allowance for the host itself.

How many CPU cores and processors are allocated to the VM? If you have multiple processors, it will be more performant allocating cores from a single processor rather than across multiple processors

---

<div class="post-metadata">

**Author:** ![w\_tc1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/w_tc1/32/67672_2.png) [@w\_tc1](https://forum.inductiveautomation.com/u/w_tc1)\
**Post date:** [July 10, 2025, 1:40am UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/8 "2025-07-10T01:40:51Z")

</div>

Is the OS windows server? Do you enable the windows defender service which may cause the issue.

> [@Gateway Stopped - JVM appears hung](https://forum.inductiveautomation.com/t/gateway-stopped-jvm-appears-hung/41632):
>
> Version: 8.1.1 (b2020120808) I have had 2 complete stops of the Gateway in the last 2 days. Wondering if someone can point me in the right direction. Stop #2 STATUS | wrapper | 2020/12/17 14:51:16 | JVM appears hung: Timed out waiting for signal from JVM. Restarting JVM. ERROR | wrapper | 2020/12/17 14:51:31 | Timed out waiting for the OS to forcibly terminate the JVM process, unable to continue. ERROR | wrapper | 2020/12/17 14:51:31 | The scheduled restart of the JVM has been canc…

---

<div class="post-metadata">

**Author:** ![JayR](https://avatars.discourse-cdn.com/v4/letter/j/e495f1/32.png) [@JayR](https://forum.inductiveautomation.com/u/JayR)\
**Post date:** [July 10, 2025, 1:03pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/9 "2025-07-10T13:03:49Z")

</div>

The support has already reviewed the VM configuration and didn’t identify any misconfigured settings.

As for the Ignition configuration, we’ve set the initial heap size to 32,768 MB and the maximum heap size to 65,536 MB, while the machine itself has 100 GB of RAM. I’ll be checking the allocated CPU cores next to rule out any further resource-related issues.

I will also review the response from w\_tc1 regarding the same issue to see if there are any relevant insights.

---

<div class="post-metadata">

**Author:** ![Leor\_Fishman](https://avatars.discourse-cdn.com/v4/letter/l/e19adc/32.png) [@Leor\_Fishman](https://forum.inductiveautomation.com/u/Leor_Fishman)\
**Post date:** [July 10, 2025, 5:14pm UTC](https://forum.inductiveautomation.com/t/frequent-restart-of-the-ignition-services/108288/10 "2025-07-10T17:14:46Z")

</div>

> [@pturmel](#):
>
> Java doesn't give memory back to the OS, and will crash if it can't get the max allowance when needed

funny story about this  
a decade ago, i was working on some ML tasks within java, and i set the max heap size a little high....and java grabbed so much memory that windows couldn't even run core kernel programs like 'shut down the computer' or 'task manager'. Had to unplug the tower!
