How to debug hanging node service?

molhar
PRO

3 days 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.

Awaiting User Response

2 Replies

Railway
BOT

3 days 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!


2 days 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 2 days ago


How to debug hanging node service? - Railway Help Station