Skip to content

Instantly share code, notes, and snippets.

@davidcelis
Created September 20, 2011 23:21
Show Gist options
  • Save davidcelis/1230722 to your computer and use it in GitHub Desktop.
Save davidcelis/1230722 to your computer and use it in GitHub Desktop.
Processing SystemsController#delegate_data_key (for 173.12.191.149 at 2011-09-20 16:11:27) [POST]
Parameters: {"delegate_to"=>"5934", "id"=>"5481"}
Deadlock detected on retry 1, restarting transaction
Deadlock detected on retry 2, restarting transaction
Deadlock detected on retry 3, restarting transaction
Deadlock detected on retry 4, restarting transaction
Deadlock detected on retry 5, restarting transaction
Deadlock detected on retry 6, restarting transaction
Deadlock detected on retry 7, restarting transaction
Deadlock detected on retry 8, restarting transaction
Deadlock detected on retry 9, restarting transaction
Deadlock detected on retry 10, restarting transaction
ActiveRecord::StatementInvalid (Mysql::Error: Lock wait timeout exceeded; try restarting transaction: UPDATE `system_nodes` SET `updated_at` = '2011-09-20 23:20:01', `new_data_key_id` = 3209, `data_key_id` = 3209 WHERE `id` = 5481):
/lib/retry_on_deadlock.rb:6:in `transaction'
app/controllers/systems_controller.rb:993:in `delegate_data_key'
haml (3.1.2) vendor/sass/lib/sass/./sass/plugin/rack.rb:54:in `call'
app/middleware/flash_session_cookie_middleware.rb:14:in `call'
vendor/gems/hoptoad_notifier-2.3.0/lib/hoptoad_notifier/rack.rb:27:in `call'
unicorn (4.0.1) lib/unicorn/http_server.rb:518:in `process_client'
unicorn (4.0.1) lib/unicorn/http_server.rb:585:in `worker_loop'
unicorn (4.0.1) lib/unicorn/http_server.rb:475:in `spawn_missing_workers'
unicorn (4.0.1) lib/unicorn/http_server.rb:486:in `maintain_worker_count'
unicorn (4.0.1) lib/unicorn/http_server.rb:270:in `join'
unicorn (4.0.1) bin/unicorn_rails:209
/opt/ruby-ee/bin/unicorn_rails:19:in `load'
/opt/ruby-ee/bin/unicorn_rails:19
** [Hoptoad] Success: Net::HTTPOK
** [Hoptoad] Environment Info: [Ruby: 1.8.7] [Rails: 2.3.8] [Env: production]
** [Hoptoad] Response from Hoptoad:
<?xml version="1.0" encoding="UTF-8"?>
<notice>
<error-id type="integer">12615009</error-id>
<url>http://deckmonitoring.airbrakeapp.com/errors/12615009/notices/2508779669</url>
<id type="integer">2508779669</id>
</notice>
Rendering /var/www/deck_rails_production/releases/20110919211244/public/500.html (500 Internal Server Error)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment