July 2010
3 posts
run-it
I deployed a NodeJS Express app behind an nginx reverse proxy and wanted to have the node process supervised so it would automatically be restarted after crashes. I learned about a nifty service supervision suite called runit (inspired by D.J. Bernstein’s daemontools) from working at Cloudkick that would be perfect for the job.
runit has a prgram called runsvdir that monitors a particular...
Slow sudoing
I’ve been noticing that using sudo was taking an unusually long time to execute on my prgmr server—commands like sudo vim /tmp/foo would hang for 3-5 seconds before finally opening vim for editing. I assumed it was due to poor I/O in a shared environment, but it persisted for a while so I finally decided to investigate.
It turns out every time you use sudo, PAM tries to resolve your IP....
1 tag
To make it hard to quit they got a dog together. It’s supposed to be the...
– pg on the founders of WePay.