11 ms·
We just had some orphaned database connections (our bug) to a tenant and were able to find and kill them because of Erlang's observability: https://gist.github
by chasers 3y ago
We just had some orphaned database connections (our bug) to a tenant and were able to find and kill them because of Erlang's observability:
https://gist.github.com/chasers/e4aa33625e6ea39ecb89f03383dd9e38 https://gist.github.com/chasers/e4aa33625e6ea39ecb89f03383dd...
edit: link to gist
- pawelduda 3y agoNot possible in your typical Rails setup where remote console spawns a separate process so you can't inspect what's going on with your actual servers. Even if so, the amount of observability is not remotely (pun intended) close. You don't appreciate it until your production puma workers start going haywire and you have no idea why
- byroot 3y agoYou can attach to a running Ruby process with rbtrace easily.