# Gateway auto-restarts after TCPServerChannel errors

**URL:** <https://forum.inductiveautomation.com/t/gateway-auto-restarts-after-tcpserverchannel-errors/9208>\
**Category:** Ignition\
**Created:** [October 22, 2014, 5:20pm UTC](https://forum.inductiveautomation.com/t/gateway-auto-restarts-after-tcpserverchannel-errors/9208 "2014-10-22T17:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![driverk](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@driverk](https://forum.inductiveautomation.com/u/driverk)\
**Post date:** [October 22, 2014, 5:20pm UTC](https://forum.inductiveautomation.com/t/gateway-auto-restarts-after-tcpserverchannel-errors/9208/1 "2014-10-22T17:20:15Z")

</div>

This phenomenon was reported by one user on the forum as far back as 7.6.4, but it is still manifesting in both 7.6.6 (production) and 7.7.1 (development).

Pattern description: Begins with TCPServerChannel errors in the logs, sometimes a day in advance of the restart. The root cause begins as “end of stream reached” and proceeds to “connection reset.” Then a series of messages appears as “uncaught throwable while processing chunk.” These continue until a message appears stating that “JVM appears hung.” At that point the gateway restarts.

I can send more detail but I wanted to get this on the board as an active problem in 7.7.1.

---

<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:** [October 22, 2014, 5:51pm UTC](https://forum.inductiveautomation.com/t/gateway-auto-restarts-after-tcpserverchannel-errors/9208/2 "2014-10-22T17:51:10Z")

</div>

I think for starters we’ll need log files as far back as you have.

It sounds like you’re running out of memory for some reason though.
