mroach / myflightmap

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

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

Open mroach opened 2 years ago

mroach commented 2 years ago

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



ActionController::RoutingError: No route matches [GET] "/_profiler/phpinfo"
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/actionpack-4.2.10/lib/action_dispatch/middleware/debug_exceptions.rb", line 21, 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.10/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.10/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.10/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.10/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.10/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.10/lib/active_support/tagged_logging.rb", line 68, in tagged
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/railties-4.2.10/lib/rails/rack/logger.rb", line 20, 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/request_store-1.1.0/lib/request_store/middleware.rb", line 8, 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.10/lib/action_dispatch/middleware/request_id.rb", line 21, 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/rack-1.6.8/lib/rack/methodoverride.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/rack-1.6.8/lib/rack/runtime.rb", line 18, 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/activesupport-4.2.10/lib/active_support/cache/strategy/local_cache_middleware.rb", line 28, 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.10/lib/action_dispatch/middleware/static.rb", line 120, 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/rack-1.6.8/lib/rack/sendfile.rb", line 113, 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.10/lib/rails/engine.rb", line 518, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/railties-4.2.10/lib/rails/application.rb", line 165, 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/puma-3.4.0/lib/puma/configuration.rb", line 224, in call
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/puma-3.4.0/lib/puma/server.rb", line 569, in handle_request
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/puma-3.4.0/lib/puma/server.rb", line 406, in process_client
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/puma-3.4.0/lib/puma/server.rb", line 271, in block in run
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/puma-3.4.0/lib/puma/thread_pool.rb", line 114, in block in spawn_thread
ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5.000 seconds (waited 13.092 seconds)
  File "/home/deploy/apps/myflightmap/shared/bundle/ruby/2.3.0/gems/activerecord-4.2.10/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.10/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.10/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.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 135, in block in poll
  File "/home/deploy/.rbenv/versions/2.3.6/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.10/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.10/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.10/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.10/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 349, in block in checkout
  File "/home/deploy/.rbenv/versions/2.3.6/lib/ruby/2.3.0/monitor.rb", line 214