a
arcadeblox
PROOP

a month ago

adasda

$20 Bounty

3 Replies

Railway
BOT

a month 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 Railway about 1 month ago


sdpowerstrok3
FREE

a month ago

I can't be sure, but I can take a guess.

Your service could be running out of memory. When your service exceeds a certain memory limit, it will restart the service. You can check the railway metrics to see if this is true.

Another thing could be uncaught exceptions. Things that could just crash you service. You can try adding try and catch statements to fix it. You can check the railway logs right before the restart.

A service that you have might have rate limiting on it. It can cause crashes every few hours and can happen when traffic spikes. If this is true, you can try to get a paid service that doesn't have limits or have timeouts.

If you CPU is to much it can also cause it to crash, or the railway might stall or kill it. You can move things like background jobs and/or queues to a separate worker.

It could be that you are just updating the service, like in github. If thats true, the railway will restart to apply the changes. If you don't want that, you can disable it and update it later.


hyper674
PRO

a month ago

Check your logs first - that's the only way to know what's actually happening. Go to your service in Railway, click the deployment, and look at the logs right before it crashes.

Common issues below

Memory leak - If the metrics show memory climbing until it hits the limit, Railway kills it. Could be websockets not closing, cache growing forever, or listeners stacking up.

Unhandled errors - Especially with Node/async code. Add error handlers so crashes get logged instead of silently killing the process.

Health check failing - If your app stops responding to requests (blocked by some long operation), Railway thinks it's dead and restarts it.

Rate limiting - Hitting Solana RPC endpoints too hard can cause timeouts and crashes.

Post the actual error logs from right before a crash and people can help you fix the issue..


arcadeblox
PROOP

a month ago

dadadad


Loading...