Troubleshooting Ruby Processes: Leveraging System Tools when the Usual Ruby Tricks Stop Working

Book description

This short cut introduces key system diagnostic tools to Ruby developers creating and deploying web applications. When programmers develop a Ruby application they commonly experience complex problems which require some understanding of the underlying operating system to be solved. Difficult to diagnose, these problems can make the difference between a project's failure or success. This short cut demonstrates how to leverage system tools available on Mac OS X, Linux, Solaris, BSD or any other Unix flavor. You will learn how to leverage the raw power of tools such as lsof, strace or gdb to resolve problems that are difficult to diagnose with the standard Ruby development tools. You will also find concrete examples that illustrate how these tools solve real-life problems in Ruby development. This expertise will prove especially relevant during the deployment phase of your application. In this way, should your production Mongrel cluster freeze and stop serving HTTP requests, it will not take you 2 days to figure out why!

Product information

  • Title: Troubleshooting Ruby Processes: Leveraging System Tools when the Usual Ruby Tricks Stop Working
  • Author(s): Philippe Hanrigou
  • Release date: October 2007
  • Publisher(s): Addison-Wesley Professional
  • ISBN: None