# Ignition Gateway Shutting down unexpectedly, repeatedly

**URL:** <https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962>\
**Category:** Ignition\
**Created:** [July 31, 2013, 3:44pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962 "2013-07-31T15:44:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dfenter](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@dfenter](https://forum.inductiveautomation.com/u/dfenter)\
**Post date:** [July 31, 2013, 3:44pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962/1 "2013-07-31T15:44:37Z")

</div>

We are having an issue where the ignition gateway is shutting down unexpectedly, and repeatedly.

I have looked at the console, and it looks like something is triggering a gateway/project shutdown script.

There are multiple errors occuring, but I cannot determine what is causing the shutdown to occur.

I have attached the logs. We are having to reboot the machine running the ignition gateway multiple times per day.

Dan  
[logs (5).bin.gz](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/cedaa9b6e9a462ba4c88946bc55f5235de60e684.gz) (504 KB)

---

<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:** [July 31, 2013, 3:45pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962/2 "2013-07-31T15:45:33Z")

</div>

Can you zip up your wrapper.log files (in the logs directory of wherever Ignition is installed) and attach those as well?

---

<div class="post-metadata">

**Author:** ![dfenter](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@dfenter](https://forum.inductiveautomation.com/u/dfenter)\
**Post date:** [July 31, 2013, 4:48pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962/3 "2013-07-31T16:48:06Z")

</div>

Here are the wrapper logs.

Dan  
[wrapper.log.zip](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/16eb296f084dbc6d668107cf0cd2dfd4bb03c389.zip) (2.99 MB)

---

<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:** [July 31, 2013, 5:00pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962/4 "2013-07-31T17:00:17Z")

</div>

I see some instances where the JVM hung and got restarted by the service wrapper - this could be a deadlock or OutOfMemory problem. A few others appear to be machine restarts, which can only happen externally.

A good place to start would be upgrading to the latest 7.5.x release. It looks like you’re running 7.5.3 currently.

---

<div class="post-metadata">

**Author:** ![dfenter](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@dfenter](https://forum.inductiveautomation.com/u/dfenter)\
**Post date:** [July 31, 2013, 6:20pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962/5 "2013-07-31T18:20:41Z")

</div>

The manual restarts were performed due to the unusability of the system. It would get hung up on something, and then would lock up.

Can the upgrade be applied live, or does it require downtime? We can’t have the plant down without scheduling it way in advance.

Can you give me a definitive answer on what is causing the gateway to shutdown/fault/lockup?

Dan

---

<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:** [July 31, 2013, 6:25pm UTC](https://forum.inductiveautomation.com/t/ignition-gateway-shutting-down-unexpectedly-repeatedly/6962/6 "2013-07-31T18:25:15Z")

</div>

[quote=“dfenter”]The manual restarts were performed due to the unusability of the system. It would get hung up on something, and then would lock up.

Can the upgrade be applied live, or does it require downtime? We can’t have the plant down without scheduling it way in advance.

Can you give me a definitive answer on what is causing the gateway to shutdown/fault/lockup?

Dan[/quote]

No, there’s no indication as to what’s causing it. All I can tell is that the JVM stops responding to the service wrapper’s keep-alive ping for some reason. You could try using the GCU to get a thread dump from the gateway before you restart it next time but there’s no guarantee it will work if the JVM isn’t responding. It could also be memory related - how much memory is Ignition configured to use (you can find this in data/ignition.conf, wrapper.java.maxmemory property)?

You won’t be able to upgrade without downtime, but it sounds like you’re already experiencing downtime anyway… assuming nothing goes wrong, an upgrade is just as quick as restarting the gateway/server.
