[jruby-user] Concurrency issues with JRuby on Rails
Chason Choate <[email protected]> Mon, 19 Jan 2015 15:28:46 -0600
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CADgFOvqbsgXF4ZttakL_NwhV5gY7O0B_7cTMato4+bJ85NqTAQ@mail.gmail.com> |
Hello there, I'm running into some concurrency issues and need some help. I'm currently using JRuby 1.7.12 and Rails 4.1.1. Every now and then i'm getting this error: ActiveRecord::ConnectionTimeoutError (could not obtain a database connection within 15.000 seconds (waited 15.001 seconds)): vendor/bundle/jruby/1.9/gems/activerecord-4.1.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:190:in `wait_poll' Our database pool is set to 20 and a checkout_timeout of 15. Has anyone seen this issue before? -- Thanks, Chason Choate