How to debug hanging node service?
molhar
PROOP

7 months ago

From time to time we find our API service will start hanging. It will accept requests but then never returns. We suspect connections to postgres or redis are hanging but we're not certain. Restarting fixes the issue but it's unclear why it happens in the first place.

We can ssh into the instance but without tools like lsof/ss/strace available it's hard to understand what's going on.

Does the team have any advice for debugging such issues on railway?

Worth pointing out our production environment has been moved back to google whilst the disk issue with metal is being fixed.

Solved

2 Replies

Railway
BOT

7 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


7 months ago

Hello,

I'm sorry, but due to the volume of threads at the moment, we are unable to offer application-level support. I can go ahead and open this up to the community if you would like?

Best,
Brody


Status changed to Awaiting User Response Railway 8 months ago


Railway
BOT

7 months ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway 7 months ago


Loading...