# Clock Drift Issue Garbage Collection Issue Gateway Restarts Automatically

**URL:** <https://forum.inductiveautomation.com/t/clock-drift-issue-garbage-collection-issue-gateway-restarts-automatically/61629>\
**Category:** Ignition\
**Created:** [July 7, 2022, 1:28pm UTC](https://forum.inductiveautomation.com/t/clock-drift-issue-garbage-collection-issue-gateway-restarts-automatically/61629 "2022-07-07T13:28:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [July 7, 2022, 1:28pm UTC](https://forum.inductiveautomation.com/t/clock-drift-issue-garbage-collection-issue-gateway-restarts-automatically/61629/1 "2022-07-07T13:28:49Z")

</div>

Upgraded to v8.1.18 just a few days ago (previous version was 8.1.17 but need to verify).  
No major changes to our gateway configuration or project.  
Since upgrading the gateway has had GC issues, many more clock drift warnings that usual and has restarted automatically about 4 times.  
Will try to upload the wrapper log.  
Anyone else having issues?

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

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [July 7, 2022, 1:40pm UTC](https://forum.inductiveautomation.com/t/clock-drift-issue-garbage-collection-issue-gateway-restarts-automatically/61629/2 "2022-07-07T13:40:23Z")

</div>

It seems you are not alone.

> [@Ignition Gateway restarts Itself (v8.1.18 16GB Memory allocation)](https://forum.inductiveautomation.com/t/ignition-gateway-restarts-itself-v8-1-18-16gb-memory-allocation/61598):
>
> Yesterday we concurrently updated the gateway memory allocation (8GB to 16GB) and updated the ignition software version (v8.1.17 to v 8.1.18). Today we have had a number of instances where the gateway appear to have restarted itself, preceded by ClockDriftDetector and Timeout warnings. My first thought was to look at garbage collection due to things I had read in the past but I understand that Ignition now uses the recommended G1C1 garbage collector by default. We are investigating further b…

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 7, 2022, 3:13pm UTC](https://forum.inductiveautomation.com/t/clock-drift-issue-garbage-collection-issue-gateway-restarts-automatically/61629/3 "2022-07-07T15:13:28Z")

</div>

Collect wrapper logs, contact support.

---

<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 7, 2022, 4:35pm UTC](https://forum.inductiveautomation.com/t/clock-drift-issue-garbage-collection-issue-gateway-restarts-automatically/61629/4 "2022-07-07T16:35:29Z")

</div>

> [@lrose](#):
>
> It seems you are not alone.

They could work together and not realize the other has posted....

I hope so, or v8.1.18 might not be safe to deploy widely. ):

---

<div class="post-metadata">

**Author:** ![tyler.bennett](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@tyler.bennett](https://forum.inductiveautomation.com/u/tyler.bennett)\
**Post date:** [July 7, 2022, 4:59pm UTC](https://forum.inductiveautomation.com/t/clock-drift-issue-garbage-collection-issue-gateway-restarts-automatically/61629/5 "2022-07-07T16:59:55Z")

</div>

Confirmed. We work together and posted independently (not realizing the other had posted).  
[Ignition Gateway restarts Itself (v8.1.18 16GB Memory allocation) - Ignition - Inductive Automation Forum](https://forum.inductiveautomation.com/t/ignition-gateway-restarts-itself-v8-1-18-16gb-memory-allocation/61598)
