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?