# Vapor 3 is shutting down after some time

**URL:** <https://forums.kodeco.com/t/vapor-3-is-shutting-down-after-some-time/58138>\
**Category:** Swift\
**Created:** [December 21, 2018, 7:52am UTC](https://forums.kodeco.com/t/vapor-3-is-shutting-down-after-some-time/58138 "2018-12-21T07:52:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![glorfidel](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/glorfidel/32/85013_2.png) [@glorfidel](https://forums.kodeco.com/u/glorfidel)\
**Post date:** [December 21, 2018, 7:52am UTC](https://forums.kodeco.com/t/vapor-3-is-shutting-down-after-some-time/58138/1 "2018-12-21T07:52:07Z")

</div>

Hey everyone  
I have simple API app written in vapor. Always, after some changers I send the project to my Amazon AWS and there I type `vapor run &`. Everything  
is working for some time (sometimes it is minutes, sometimes hours) and then is shutting down. Is there any critical logs which can explain why this is happen?  
I also noticed that server is logging `Connection reset by peer (errno: 104)` but it is still working

Thank you in advance for your help

---

<div class="post-metadata">

**Author:** ![shogunkaramazov](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/shogunkaramazov/32/108826_2.png) [@shogunkaramazov](https://forums.kodeco.com/u/shogunkaramazov)\
**Post date:** [December 25, 2018, 12:06pm UTC](https://forums.kodeco.com/t/vapor-3-is-shutting-down-after-some-time/58138/2 "2018-12-25T12:06:34Z")

</div>

@0xtim Can you please help with this when you get a chance? Thank you - much appreciated! :]

---

<div class="post-metadata">

**Author:** ![0xtim](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/0xtim/32/111111_2.png) [@0xtim](https://forums.kodeco.com/u/0xtim)\
**Post date:** [December 30, 2018, 3:37pm UTC](https://forums.kodeco.com/t/vapor-3-is-shutting-down-after-some-time/58138/3 "2018-12-30T15:37:19Z")

</div>

Is there anything in the console at all (where you run `vapor run` from) when it executes? There are a few possible reasons - out of memory, hitting something in Foundation that isn’t implemented or being killed by another process. Other than that it should be pretty stable

---

<div class="post-metadata">

**Author:** ![system](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@system](https://forums.kodeco.com/u/system)\
**Post date:** [June 5, 2019, 11:52pm UTC](https://forums.kodeco.com/t/vapor-3-is-shutting-down-after-some-time/58138/4 "2019-06-05T23:52:11Z")

</div>

This topic was automatically closed after 166 days. New replies are no longer allowed.
