Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Mysql2::Error: Too many connections #307

Open
ualbertalib-bot opened this issue Sep 29, 2020 · 0 comments
Open

Mysql2::Error: Too many connections #307

ualbertalib-bot opened this issue Sep 29, 2020 · 0 comments

Comments

@ualbertalib-bot
Copy link

View details in Rollbar: https://rollbar.com/ualbertalib/DMPonline_v4/items/110/


Mysql2::Error: Too many connections
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb", line 70, in connect
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/mysql2-0.3.21/lib/mysql2/client.rb", line 70, in initialize
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/mysql2_adapter.rb", line 16, in new
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/mysql2_adapter.rb", line 16, in mysql2_connection
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 315, in new_connection
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 325, in checkout_new_connection
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 247, in block (2 levels) in checkout
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 242, in loop
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 242, in block in checkout
  File "/usr/lib64/ruby/2.1.0/monitor.rb", line 211, in mon_synchronize
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 239, in checkout
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 102, in block in connection
  File "/usr/lib64/ruby/2.1.0/monitor.rb", line 211, in mon_synchronize
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 101, in connection
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 410, in retrieve_connection
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_specification.rb", line 171, in retrieve_connection
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_specification.rb", line 145, in connection
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/query_cache.rb", line 61, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activerecord-3.2.22.5/lib/active_record/connection_adapters/abstract/connection_pool.rb", line 479, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", line 28, in block in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", line 405, in _run__1093833004532688669__call__2761293987575345595__callbacks
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", line 405, in __run_callback
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", line 385, in _run_call_callbacks
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.22.5/lib/active_support/callbacks.rb", line 81, in run_callbacks
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/callbacks.rb", line 27, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/remote_ip.rb", line 31, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rollbar-2.20.1/lib/rollbar/middleware/rails/rollbar.rb", line 25, in block in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rollbar-2.20.1/lib/rollbar.rb", line 145, in scoped
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rollbar-2.20.1/lib/rollbar/middleware/rails/rollbar.rb", line 22, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/debug_exceptions.rb", line 16, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rollbar-2.20.1/lib/rollbar/middleware/rails/show_exceptions.rb", line 22, in call_with_rollbar
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/show_exceptions.rb", line 56, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", line 32, in call_app
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/railties-3.2.22.5/lib/rails/rack/logger.rb", line 18, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/actionpack-3.2.22.5/lib/action_dispatch/middleware/request_id.rb", line 22, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/methodoverride.rb", line 21, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/dragonfly-1.2.0/lib/dragonfly/cookie_monster.rb", line 9, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rack-1.4.7/lib/rack/runtime.rb", line 17, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/activesupport-3.2.22.5/lib/active_support/cache/strategy/local_cache.rb", line 72, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rack-cache-1.9.0/lib/rack/cache/context.rb", line 140, in forward
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rack-cache-1.9.0/lib/rack/cache/context.rb", line 211, in validate
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rack-cache-1.9.0/lib/rack/cache/context.rb", line 185, in lookup
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rack-cache-1.9.0/lib/rack/cache/context.rb", line 66, in call!
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/rack-cache-1.9.0/lib/rack/cache/context.rb", line 51, in call
  File "/var/www/sites/DMPonline_v4/vendor/bundle/ruby/2.1.0/gems/railties-3.2.22.5/lib/rails/engine.rb", line 484, in call
  File "
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant