Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Attack of the Zombie Dynos

Attack of the Zombie Dynos

A brief summary of the zombie dyno problem that brought SideTour.com the morning of the talk.
5 minute lightning talk for NYC.rb on Tuesday, May 8, 2012

Lee Edwards

May 10, 2012
Tweet

More Decks by Lee Edwards

Other Decks in Programming

Transcript

  1. WTF is this? 2012-08-05T07:51:37-07:00 heroku[router]: Error H12 (Request timeout) ->

    GET sidetour. com/ web=web.2 queue=0 wait=0ms service=0ms bytes=0
  2. Error H12 - Request timeout 1. Too much traffic for

    dynos to handle 2. DDoS attack 3. ???
  3. Steps to fix 1. Wait for a Rack::Timeout::Error to be

    raised 2. Observe the stack trace 3. Fix the method that caused the problem 4. Deploy