Skip to content

Instantly share code, notes, and snippets.

@HintikkaKimmo
Last active September 3, 2016 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HintikkaKimmo/20217b26abc41557901e071e5274642c to your computer and use it in GitHub Desktop.
Save HintikkaKimmo/20217b26abc41557901e071e5274642c to your computer and use it in GitHub Desktop.
Finds and kills Rails PID process when it stucks
kill -9 $(lsof -i tcp:3000 -t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment