mroach / myflightmap

http://myflightmap.com
3 stars 2 forks source link

ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5.000 seconds (waited 12.875 seconds) #88

Open mroach opened 6 years ago

mroach commented 6 years ago

View details in Rollbar: https://rollbar.com/mroach/myflightmap/items/151/



ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5.000 seconds (waited 5.284 seconds)
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 189, in block in wait_poll
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 180, in loop
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 180, in wait_poll
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 135, in block in poll
  File "/home/deploy/.rbenv/versions/2.3.0/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 145, in synchronize
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 133, in poll
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 425, in acquire_connection
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 349, in block in checkout
  File "/home/deploy/.rbenv/versions/2.3.0/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 348, in checkout
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 263, in block in connection
  File "/home/deploy/.rbenv/versions/2.3.0/lib/ruby/2.3.0/monitor.rb", line 214, in mon_synchronize
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 262, in connection
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 565, in retrieve_connection
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb", line 113, in retrieve_connection
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_handling.rb", line 87, in connection
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/query_cache.rb", line 31, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 647, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb", line 29, in block in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb", line 88, in _run_callbacks
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb", line 734, in _run_call_callbacks
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.0/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb", line 27, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/remote_ip.rb", line 78, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar/middleware/rails/rollbar.rb", line 24, in block in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar.rb", line 728, in scoped
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/debug_exceptions.rb", line 17, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/rollbar-2.11.3/lib/rollbar/middleware/rails/show_exceptions.rb", line 22, in call_with_rollbar
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.0/lib/action_dispatch/middleware/show_exceptions.rb", line 30, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/newrelic_rpm-3.9.8.273/lib/new_relic/agent/instrumentation/middleware_tracing.rb", line 57, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/railties-4.2.0/lib/rails/rack/logger.rb", line 38, in call_app
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/railties-4.2.0/lib/rails/rack/logger.rb", line 20, in block in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb", line 68, in block in tagged
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb", line 26, in tagged
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activesupport-4.2.0/lib/active_suppor