My api container seems to be restarting quite often with no errors.
Anonymous
PROOP

5 months ago

My api container is often not up and running when I use my app in production

- Container restarts multiple times per hour

- No error/crash logs before restart

- No [Shutdown] message (your graceful shutdown handler isn't being triggered)

- Memory is stable (~120MB RSS) before restart - not OOM

- sleepApplication: false is set

Here's the container: https://railway.com/project/11d827a2-6440-4849-af05-98921633d10c/service/7b270ec9-22a6-4702-925d-06ce76b3e387?environmentId=e718c61d-b44a-45f2-bca3-8ad3db4bd3ff&id=e5fdc677-884b-4d87-9ca5-f13ef6c0999a#deploy

$10 Bounty

3 Replies

5 months ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open ray-chen 5 months ago


fra
HOBBYTop 5% Contributor

5 months ago

What do you see in settings->serverless?


fra

What do you see in settings->serverless?

jorgeferrarice
PRO

5 months ago

Nice, I'd probably check that too.


fra
HOBBYTop 5% Contributor

5 months ago

Another option you could try is to add a kind of catch-all and log any error (if any)


Welcome!

Sign in to your Railway account to join the conversation.

Loading...