#Server hangs in production. How to crash instead.

1 messages · Page 1 of 1 (latest)

gentle surge
#

My server has been hanging in production. I wish it would crash instead of just not responding to requests.

Obviously I would like to fix the root problem but its being very hard to repo.
So does anyone know if there is a setting I can change some where that will just exit the node process so that my pm2 can restart it?

bonus: Any ideas why it would be hanging?

tough stratus
#

I would start by reviewing the logs for medusa, postgres, etc