-
-
Save fbjork/2c1aed9492bc5829e233 to your computer and use it in GitHub Desktop.
could not obtain connection within 5.0 seconds. The max pool size is currently 1; consider increasing the pool size or timeout.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/util/pool.rb:250:in `block in checkout' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/util/pool.rb:248:in `loop' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/util/pool.rb:248:in `checkout' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/repl_set_connection.rb:396:in `get_socket_from_pool' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/repl_set_connection.rb:352:in `block in checkout_writer' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/repl_set_connection.rb:313:in `call' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/repl_set_connection.rb:313:in `checkout' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/repl_set_connection.rb:351:in `checkout_writer' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/cursor.rb:524:in `checkout_socket_from_connection' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/cursor.rb:466:in `send_initial_query' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/cursor.rb:458:in `refresh' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/cursor.rb:128:in `next' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongo-1.6.1/lib/mongo/collection.rb:288:in `find_one' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/collections/master.rb:25:in `block in find_one' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/collections/retry.rb:29:in `retry_on_connection_failure' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/collections/master.rb:24:in `find_one' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/collection.rb:60:in `find_one' | |
/app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.2.1/lib/new_relic/agent/method_tracer.rb:491:in `block in find_one_with_trace_ActiveRecord_klass_find_one' | |
/app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.2.1/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped' | |
/app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.3.2.1/lib/new_relic/agent/method_tracer.rb:486:in `find_one_with_trace_ActiveRecord_klass_find_one' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/contexts/mongo.rb:205:in `first' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/criteria.rb:45:in `first' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/criterion/inclusion.rb:169:in `from_map_or_db' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/builders/referenced/in.rb:20:in `build' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/accessors.rb:43:in `create_relation' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/accessors.rb:26:in `build' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/accessors.rb:101:in `block (4 levels) in getter' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/threaded/lifecycle.rb:125:in `_loading' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/accessors.rb:100:in `block (3 levels) in getter' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/threaded/lifecycle.rb:84:in `_building' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/accessors.rb:99:in `block (2 levels) in getter' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/accessors.rb:127:in `block (2 levels) in setter' | |
/app/app/models/user.rb:163:in `automatically_assign_image' | |
/app/app/models/user.rb:156:in `automatically_assign_image!' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/relations/proxy.rb:102:in `method_missing' | |
/app/app/models/account.rb:173:in `post_process_image_changes' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/callbacks.rb:450:in `_run_save_callbacks' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/callbacks.rb:43:in `run_callbacks' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/persistence/modification.rb:23:in `prepare' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/persistence/operations/update.rb:43:in `persist' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/persistence.rb:91:in `update' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/persistence.rb:156:in `upsert' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid/persistence.rb:75:in `save!' | |
/app/config/initializers/mongoid.rb:9:in `save_with_unset!' | |
/app/app/models/account.rb:529:in `create_or_update' | |
/app/app/models/account.rb:420:in `block (2 levels) in sync_friends' | |
/app/app/models/account.rb:417:in `each' | |
/app/app/models/account.rb:417:in `block in sync_friends' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/core_ext/array/grouping.rb:31:in `block in in_groups_of' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/core_ext/array/grouping.rb:31:in `each' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/core_ext/array/grouping.rb:31:in `each_slice' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/core_ext/array/grouping.rb:31:in `in_groups_of' | |
/app/app/models/account.rb:414:in `sync_friends' | |
/app/app/models/account.rb:400:in `sync_friends' | |
/app/app/workers/sync_friends_worker.rb:5:in `block in perform' | |
/app/app/workers/abstract_worker.rb:10:in `block (2 levels) in wrap' | |
/app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.4.6/lib/mongoid.rb:132:in `unit_of_work' | |
/app/app/workers/abstract_worker.rb:10:in `block in wrap' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/benchmarkable.rb:43:in `block in benchmark' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' | |
/usr/local/lib/ruby/1.9.1/benchmark.rb:310:in `realtime' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/core_ext/benchmark.rb:5:in `ms' | |
/app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.4/lib/active_support/benchmarkable.rb:43:in `benchmark' | |
/app/app/workers/abstract_worker.rb:9:in `wrap' | |
/app/app/workers/sync_friends_worker.rb:5:in `perform' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/processor.rb:38:in `block (2 levels) in process' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/chain.rb:71:in `call' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/chain.rb:71:in `block in invoke' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/server/failure_jobs.rb:6:in `call' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/chain.rb:73:in `block in invoke' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/server/active_record.rb:6:in `call' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/chain.rb:73:in `block in invoke' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/server/unique_jobs.rb:6:in `call' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/chain.rb:73:in `block in invoke' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/chain.rb:76:in `call' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/middleware/chain.rb:76:in `invoke' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/processor.rb:37:in `block in process' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/processor.rb:66:in `stats' | |
/app/vendor/bundle/ruby/1.9.1/bundler/gems/sidekiq-f2da18176527/lib/sidekiq/processor.rb:36:in `process' | |
/app/vendor/bundle/ruby/1.9.1/gems/celluloid-0.9.0/lib/celluloid/calls.rb:93:in `dispatch' | |
/app/vendor/bundle/ruby/1.9.1/gems/celluloid-0.9.0/lib/celluloid/actor.rb:202:in `block in handle_message' | |
/app/vendor/bundle/ruby/1.9.1/gems/celluloid-0.9.0/lib/celluloid/task.rb:45:in `block in initialize' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment