# Gateway spontaneous restart

**URL:** <https://forum.inductiveautomation.com/t/gateway-spontaneous-restart/54779>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 7, 2022, 6:31pm UTC](https://forum.inductiveautomation.com/t/gateway-spontaneous-restart/54779 "2022-01-07T18:31:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ken.maze](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ken.maze/32/85876_2.png) [@ken.maze](https://forum.inductiveautomation.com/u/ken.maze)\
**Post date:** [January 7, 2022, 6:31pm UTC](https://forum.inductiveautomation.com/t/gateway-spontaneous-restart/54779/1 "2022-01-07T18:31:35Z")

</div>

HI,

My gateway spontaneously restarts a few times a day. The log just says  
`Restarting gateway scripts...`

Is there any way I can find out more information, like why or what restarted it?

Thanks

---

<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:** [January 7, 2022, 6:52pm UTC](https://forum.inductiveautomation.com/t/gateway-spontaneous-restart/54779/2 "2022-01-07T18:52:44Z")

</div>

‘Restarting gateway scripts’ does not mean that the entire system restarted.  
What is making you think the entire gateway is restarting?  
Can you upload the `wrapper.log` file?

---

<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:** [January 7, 2022, 7:07pm UTC](https://forum.inductiveautomation.com/t/gateway-spontaneous-restart/54779/3 "2022-01-07T19:07:21Z")

</div>

Scripts are restarted whenever the containing project is saved.

---

<div class="post-metadata">

**Author:** ![ken.maze](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ken.maze/32/85876_2.png) [@ken.maze](https://forum.inductiveautomation.com/u/ken.maze)\
**Post date:** [January 7, 2022, 7:37pm UTC](https://forum.inductiveautomation.com/t/gateway-spontaneous-restart/54779/4 "2022-01-07T19:37:32Z")

</div>

Apparently mostly ignorance made me think that. I guess it makes sense, a gateway restart would mean it was unavailable for a little while.

I’m pretty sure I hadn’t done a save at that point. I’l keep watching it to make sure I have my head on straight.

Thanks!
