What To Do when Mongrel Stops Responding to Your Requests and Ruby Doesn't Want to Tell You About It

Location: Portland Ballroom 253 Level: Intermediate
Average rating: ****.
(4.29, 7 ratings)

Most of the time the Ruby stack gives you a good grasp of what is happening when you experience a problem with a RoR application: you can inspect some objects, raise an exception, launch script/console, add a log message, add a breakpoint, Google it, or… just explain the problem to your nearest coworker.

Occasionally, though, the actual problem is deep at the system level and proves to be more difficult to understand. For these abstruse issues, the standard Ruby development tricks quickly become inadequate. This is especially true during the deployment phase for applications. To alleviate these frustrating moments quickly, it is best to leverage the UNIX platform (whether you are on Mac OS X, Linux, BSD, or Solaris) and start using the raw power of tools such as DTrace, strace, gdb, lsof, netstat or XRay.

This talk introduces and demonstrates some key system diagnostic tools and techniques in the context of Ruby on Rails development. Some are already well-documented in the Addison-Wesley shortcut, Troubleshooting Ruby Processes, while others are new and lack sufficient documentation for many Rails developers.

Photo of Philippe Hanrigou

Philippe Hanrigou


Philippe Hanrigou has over ten years of experience developing enterprise software and web applications. As a software engineer and ThoughtWorks consultant, he focuses on designing enterprise software — understanding what makes a good design and implementing practices that encourage it. For the last 2 years he has enthusiastically embraced Ruby and used it to deliver large enterprise systems.

Philippe is the author of Troubleshooting Ruby Processes , an Addison-Wesley Ruby Professional Series shortcut, that introduces key system diagnostic tools in the context of Ruby development. Philippe is also the principal developer and author of Selenium Grid, a tool that transparently distribute your web testing infrastructure so that you can run Selenium tests in parallel.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Sun Microsystems
  • FiveRuns
  • GotThingsDone
  • Heroku
  • ThoughtWorks
  • Atlantic Dominion Solutions
  • Blue Box Group
  • CodeGear
  • E-xact
  • ELC Technologies
  • EnterpriseDB
  • GemStone Systems
  • Intridea
  • Morph Labs
  • RightScale
  • TechRepublic

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine.

Download the RailsConf Sponsor/Exhibitor Prospectus

Media and Promotional Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact mediapartners@ oreilly.com.

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to rails-idea@oreilly.com.

Press and Media

For media-related inquiries, contact confpr@oreilly.com.

Contact Us

View a complete list of RailsConf 2008 contacts.