# Gateway keeps restarting

**URL:** <https://forum.inductiveautomation.com/t/gateway-keeps-restarting/87937>\
**Category:** Ignition\
**Created:** [March 27, 2024, 1:10am UTC](https://forum.inductiveautomation.com/t/gateway-keeps-restarting/87937 "2024-03-27T01:10:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 27, 2024, 1:10am UTC](https://forum.inductiveautomation.com/t/gateway-keeps-restarting/87937/1 "2024-03-27T01:10:56Z")

</div>

My inhouse gateway keeps restarting. Not sure why.  
I have attached the wrapper log file  
Uploading: wrapper.log…

---

<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 27, 2024, 1:24am UTC](https://forum.inductiveautomation.com/t/gateway-keeps-restarting/87937/2 "2024-03-27T01:24:10Z")

</div>

Doesn't look like your log file uploaded successfully. Try zipping it first?

---

<div class="post-metadata">

**Author:** ![indra.biswas](https://avatars.discourse-cdn.com/v4/letter/i/3bc359/32.png) [@indra.biswas](https://forum.inductiveautomation.com/u/indra.biswas)\
**Post date:** [March 27, 2024, 1:43am UTC](https://forum.inductiveautomation.com/t/gateway-keeps-restarting/87937/3 "2024-03-27T01:43:21Z")

</div>

[wrapper.zip](https://forum.inductiveautomation.com/uploads/short-url/wxLspCD40UdhRWPJba13vdMdCma.zip) (450.4 KB)

There you go, Thanks

---

<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 27, 2024, 1:47am UTC](https://forum.inductiveautomation.com/t/gateway-keeps-restarting/87937/4 "2024-03-27T01:47:47Z")

</div>

It's freezing up and being restarted by the service wrapper for some reason.

Often this can be due to run away memory usage from, e.g. a historical query that is pulling back way too much data, or a bad script, or any number of things, really...

You'll probably have to work with support to track it down if you can't do it on your own. There's a history-related error in the logs each time before it restarts, but that could be coincidence.
