Skip to content

Instantly share code, notes, and snippets.

@pratik60
Created August 31, 2015 22:09
Show Gist options
  • Save pratik60/ad93d6cab59f28592362 to your computer and use it in GitHub Desktop.
Save pratik60/ad93d6cab59f28592362 to your computer and use it in GitHub Desktop.
sidekiq.log
2015-08-31T21:53:31.308Z 26886 TID-5tfns WARN: Thread TID-5tfns
2015-08-31T21:53:31.508Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/cli.rb:138:in `backtrace'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/cli.rb:138:in `block in handle_signal'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/cli.rb:135:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/cli.rb:135:in `handle_signal'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/cli.rb:88:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/bin/sidekiq:8:in `<top (required)>'
/webapps/myapp/shared/bundle/ruby/2.2.0/bin/sidekiq:23:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/bin/sidekiq:23:in `<main>'
2015-08-31T21:53:31.508Z 26886 TID-5tfns WARN: Thread TID-a6vrg
2015-08-31T21:53:31.510Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:53:31.510Z 26886 TID-5tfns WARN: Thread TID-a66qw
2015-08-31T21:53:31.511Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:53:31.511Z 26886 TID-5tfns WARN: Thread TID-a5gt0
2015-08-31T21:53:34.634Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:53:35.031Z 26886 TID-5tfns WARN: Thread TID-a5578
2015-08-31T21:53:35.031Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:53:35.031Z 26886 TID-5tfns WARN: Thread TID-yfb7s
2015-08-31T21:53:35.032Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/mini_profiler/storage/file_store.rb:65:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/mini_profiler/storage/file_store.rb:65:in `block in initialize'
2015-08-31T21:53:35.032Z 26886 TID-5tfns WARN: Thread TID-9q1dg
2015-08-31T21:53:35.032Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:53:35.347Z 26886 TID-5tfns WARN: Thread TID-cqm1o
2015-08-31T21:53:35.537Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:33:in `while_time_remaining'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:11:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:53:35.537Z 26886 TID-5tfns WARN: Thread TID-co5qs
2015-08-31T21:53:35.538Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in `block in exec_no_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in `exec_no_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:588:in `execute_and_clear'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:351:in `select'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:404:in `block in send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:403:in `send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:374:in `send_queries_to_selected_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:268:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:39:in `find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:638:in `exec_queries'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:514:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:243:in `to_a'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:132:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:99:in `method_missing'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1266:in `get_historic_exchange_rates'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1453:in `compute_time_and_exchange_rates_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1406:in `block (2 levels) in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `block in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adgroup_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:35.538Z 26886 TID-5tfns WARN: Thread TID-cz9ok
2015-08-31T21:53:35.538Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in `block in exec_no_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in `exec_no_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:588:in `execute_and_clear'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:351:in `select'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:404:in `block in send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:403:in `send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:374:in `send_queries_to_selected_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:268:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:39:in `find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:638:in `exec_queries'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:514:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:243:in `to_a'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:132:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:99:in `method_missing'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1266:in `get_historic_exchange_rates'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1453:in `compute_time_and_exchange_rates_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1354:in `block (2 levels) in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `block in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adset_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:35.538Z 26886 TID-5tfns WARN: Thread TID-cui50
2015-08-31T21:53:35.539Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails.rb:60:in `env'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus.rb:38:in `enabled?'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/model.rb:44:in `set_current_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:430:in `block in make_lambda'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:226:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:226:in `block in halting_and_conditional'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:504:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:504:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:504:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:504:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/core.rb:311:in `init_with'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:69:in `instantiate'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:50:in `block (2 levels) in find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/result.rb:51:in `block in each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/result.rb:51:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/result.rb:51:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:50:in `map'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:50:in `block in find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:49:in `find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:638:in `exec_queries'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:514:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:243:in `to_a'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:132:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:99:in `method_missing'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1266:in `get_historic_exchange_rates'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1453:in `compute_time_and_exchange_rates_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1406:in `block (2 levels) in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `block in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adgroup_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:35.539Z 26886 TID-5tfns WARN: Thread TID-d5d6s
2015-08-31T21:53:35.539Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:212:in `begin_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:140:in `initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `new'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `begin_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:183:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1476:in `block in update_reports_with_correction_for_backfill'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1468:in `update_reports_with_correction_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1382:in `block (2 levels) in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `block in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adset_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:35.539Z 26886 TID-5tfns WARN: Thread TID-d2vfo
2015-08-31T21:53:35.539Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:212:in `begin_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:140:in `initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `new'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `begin_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:183:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1476:in `block in update_reports_with_correction_for_backfill'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1468:in `update_reports_with_correction_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1434:in `block (2 levels) in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `block in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adgroup_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:35.539Z 26886 TID-5tfns WARN: Thread TID-da1mo
2015-08-31T21:53:35.540Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:222:in `commit_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:151:in `commit'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:250:in `update'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/persistence.rb:9:in `block in update_attributes'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/shard_tracking.rb:30:in `run_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/persistence.rb:9:in `update_attributes'
/webapps/myapp/releases/20150831173832/app/models/ga_profile.rb:29:in `block in backfill_fb_references'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/relation_proxy.rb:20:in `block in method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/shard_tracking.rb:30:in `run_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/relation_proxy.rb:20:in `method_missing'
/webapps/myapp/releases/20150831173832/app/models/ga_profile.rb:25:in `backfill_fb_references'
/webapps/myapp/releases/20150831173832/app/jobs/google_analytics_fb_references_job.rb:10:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:35.540Z 26886 TID-5tfns WARN: Thread TID-d6r1s
2015-08-31T21:53:35.540Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/model_schema.rb:187:in `inheritance_column'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/model_schema.rb:187:in `inheritance_column'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/inheritance.rb:176:in `using_single_table_inheritance?'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/inheritance.rb:168:in `discriminate_class_for_record'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:67:in `instantiate'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:50:in `block (2 levels) in find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/result.rb:51:in `block in each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/result.rb:51:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/result.rb:51:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:50:in `map'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:50:in `block in find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:49:in `find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:638:in `exec_queries'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:514:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:243:in `to_a'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:132:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:99:in `method_missing'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1266:in `get_historic_exchange_rates'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1453:in `compute_time_and_exchange_rates_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1354:in `block (2 levels) in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `block in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adset_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:35.540Z 26886 TID-5tfns WARN: Thread TID-ddnwo
2015-08-31T21:53:35.540Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `block in exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:589:in `execute_and_clear'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:351:in `select'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:404:in `block in send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:403:in `send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:374:in `send_queries_to_selected_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:268:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/calculations.rb:264:in `execute_simple_calculation'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/calculations.rb:221:in `perform_calculation'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/calculations.rb:127:in `calculate'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/calculations.rb:42:in `count'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1464:in `update_reports_with_correction_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1434:in `block (2 levels) in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `block in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adgroup_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.235Z 26886 TID-5tfns WARN: Thread TID-diekk
2015-08-31T21:53:36.593Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:222:in `commit_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:151:in `commit'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/persistence.rb:250:in `update'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/persistence.rb:9:in `block in update_attributes'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/shard_tracking.rb:30:in `run_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/persistence.rb:9:in `update_attributes'
/webapps/myapp/releases/20150831173832/app/models/ga_profile.rb:29:in `block in backfill_fb_references'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/relation_proxy.rb:20:in `block in method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/shard_tracking.rb:30:in `run_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/relation_proxy.rb:20:in `method_missing'
/webapps/myapp/releases/20150831173832/app/models/ga_profile.rb:25:in `backfill_fb_references'
/webapps/myapp/releases/20150831173832/app/jobs/google_analytics_fb_references_job.rb:10:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.688Z 26886 TID-5tfns WARN: Thread TID-dfou8
2015-08-31T21:53:36.688Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:222:in `commit_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:151:in `commit'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1476:in `block in update_reports_with_correction_for_backfill'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1468:in `update_reports_with_correction_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1434:in `block (2 levels) in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `block in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adgroup_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.688Z 26886 TID-5tfns WARN: Thread TID-docpg
2015-08-31T21:53:36.688Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:222:in `commit_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:151:in `commit'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1731:in `add_or_update_ad_creative'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:812:in `block in update_creatives'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `update_creatives'
/webapps/myapp/releases/20150831173832/app/jobs/update_creative_job.rb:13:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.688Z 26886 TID-5tfns WARN: Thread TID-djxq4
2015-08-31T21:53:36.689Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `block in exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:589:in `execute_and_clear'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:351:in `select'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:270:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:39:in `find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:638:in `exec_queries'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:514:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:243:in `to_a'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/finder_methods.rb:500:in `find_nth_with_limit'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/finder_methods.rb:484:in `find_nth'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/finder_methods.rb:127:in `first'
/webapps/myapp/releases/20150831173832/lib/metrics_module.rb:314:in `campaign_from_company'
/webapps/myapp/releases/20150831173832/lib/ga_revenue_metrics.rb:113:in `fb_object_references'
/webapps/myapp/releases/20150831173832/app/models/ga_profile.rb:28:in `block in backfill_fb_references'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/relation_proxy.rb:20:in `block in method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/shard_tracking.rb:30:in `run_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/relation_proxy.rb:20:in `method_missing'
/webapps/myapp/releases/20150831173832/app/models/ga_profile.rb:25:in `backfill_fb_references'
/webapps/myapp/releases/20150831173832/app/jobs/google_analytics_fb_references_job.rb:10:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.689Z 26886 TID-5tfns WARN: Thread TID-ds1ik
2015-08-31T21:53:36.689Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in `block in exec_no_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:596:in `exec_no_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:588:in `execute_and_clear'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:173:in `exec_delete'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:119:in `delete'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `delete'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:270:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:477:in `delete_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:466:in `delete_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:8:in `delete_all'
/webapps/myapp/releases/20150831173832/app/models/google_ad_account.rb:127:in `block (2 levels) in fetch_and_update_ga_data_for_profile'
/webapps/myapp/releases/20150831173832/app/models/google_ad_account.rb:93:in `each'
/webapps/myapp/releases/20150831173832/app/models/google_ad_account.rb:93:in `block in fetch_and_update_ga_data_for_profile'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/releases/20150831173832/app/models/google_ad_account.rb:91:in `fetch_and_update_ga_data_for_profile'
/webapps/myapp/releases/20150831173832/app/models/google_ad_account.rb:172:in `ga_adaccount_update_for_one_profile'
/webapps/myapp/releases/20150831173832/app/jobs/google_analytics_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.835Z 26886 TID-5tfns WARN: Thread TID-dvtkc
2015-08-31T21:53:36.836Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:222:in `commit_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:151:in `commit'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:175:in `commit_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1476:in `block in update_reports_with_correction_for_backfill'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1468:in `update_reports_with_correction_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1382:in `block (2 levels) in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1350:in `block in update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1341:in `update_ad_set_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adset_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.836Z 26886 TID-5tfns WARN: Thread TID-du2l4
2015-08-31T21:53:36.836Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:212:in `begin_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:140:in `initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `new'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `begin_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:183:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1731:in `add_or_update_ad_creative'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:812:in `block in update_creatives'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `update_creatives'
/webapps/myapp/releases/20150831173832/app/jobs/update_creative_job.rb:13:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:36.836Z 26886 TID-5tfns WARN: Thread TID-wm6b4
2015-08-31T21:53:36.836Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:212:in `begin_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:140:in `initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `new'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `begin_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:183:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1731:in `add_or_update_ad_creative'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:812:in `block in update_creatives'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `update_creatives'
/webapps/myapp/releases/20150831173832/app/jobs/update_creative_job.rb:13:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:37.134Z 26886 TID-5tfns WARN: Thread TID-tbv7c
2015-08-31T21:53:37.434Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `block in exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:589:in `execute_and_clear'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:351:in `select'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:404:in `block in send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:403:in `send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:374:in `send_queries_to_selected_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:268:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:39:in `find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:638:in `exec_queries'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:514:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:243:in `to_a'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:611:in `=='
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1721:in `add_or_update_ad_creative'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:812:in `block in update_creatives'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `update_creatives'
/webapps/myapp/releases/20150831173832/app/jobs/update_creative_job.rb:13:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:37.434Z 26886 TID-5tfns WARN: Thread TID-100acc
2015-08-31T21:53:37.434Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:212:in `begin_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:140:in `initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `new'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `begin_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:183:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1476:in `block in update_reports_with_correction_for_backfill'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation/delegation.rb:46:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1468:in `update_reports_with_correction_for_backfill'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1434:in `block (2 levels) in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1404:in `block in update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1394:in `update_ad_group_reports_preset'
/webapps/myapp/releases/20150831173832/app/jobs/fb_backfill_adgroup_stats_job.rb:12:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:37.434Z 26886 TID-5tfns WARN: Thread TID-zxz0c
2015-08-31T21:53:37.434Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:90:in `async_exec'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:155:in `block in execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:154:in `execute'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:212:in `begin_db_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:140:in `initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `new'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:166:in `begin_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/transaction.rb:183:in `within_new_transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:250:in `block in transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:223:in `block (2 levels) in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:222:in `block in run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:417:in `keeping_connection_proxy'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:221:in `run_queries_on_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:249:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:220:in `transaction'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/transactions.rb:291:in `save!'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1731:in `add_or_update_ad_creative'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:812:in `block in update_creatives'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `update_creatives'
/webapps/myapp/releases/20150831173832/app/jobs/update_creative_job.rb:13:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:37.434Z 26886 TID-5tfns WARN: Thread TID-zxgow
2015-08-31T21:53:37.434Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/rack-mini-profiler-0.9.6/lib/patches/db/pg.rb:62:in `exec_prepared'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:606:in `block in exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:473:in `block in log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/abstract_adapter.rb:15:in `instrument'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract_adapter.rb:467:in `log'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:605:in `exec_cache'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql_adapter.rb:589:in `execute_and_clear'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/postgresql/database_statements.rb:160:in `exec_query'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:351:in `select'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/database_statements.rb:32:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/query_cache.rb:70:in `select_all'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:404:in `block in send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:429:in `using_shard'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:403:in `send_queries_to_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:374:in `send_queries_to_selected_slave'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/ar-octopus-0.8.4/lib/octopus/proxy.rb:268:in `method_missing'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/querying.rb:39:in `find_by_sql'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:638:in `exec_queries'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:514:in `load'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:243:in `to_a'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/relation.rb:611:in `=='
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:1721:in `add_or_update_ad_creative'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:812:in `block in update_creatives'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `each'
/webapps/myapp/releases/20150831173832/app/models/ad_account.rb:809:in `update_creatives'
/webapps/myapp/releases/20150831173832/app/jobs/update_creative_job.rb:13:in `perform'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:75:in `execute_job'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:52:in `block (2 levels) in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:127:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/active_record.rb:6:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/retry_jobs.rb:74:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-failures-0.4.5/lib/sidekiq/failures/middleware.rb:9:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:15:in `block in call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/logging.rb:30:in `with_context'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/server/logging.rb:11:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:129:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/middleware/chain.rb:132:in `invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:51:in `block in process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:98:in `stats'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/sidekiq-3.4.1/lib/sidekiq/processor.rb:50:in `process'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `public_send'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:26:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/calls.rb:122:in `dispatch'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:60:in `block in invoke'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/cell.rb:71:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:357:in `block in task'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:57:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/tasks/task_fiber.rb:15:in `block in create'
2015-08-31T21:53:37.435Z 26886 TID-5tfns WARN: Thread TID-zx4xk
2015-08-31T21:53:37.435Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:33:in `while_time_remaining'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:11:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:53:37.435Z 26886 TID-5tfns WARN: Thread TID-zx0m0
2015-08-31T21:53:37.435Z 26886 TID-5tfns WARN: /webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `sleep'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:62:in `block in check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/wait.rb:14:in `for'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:57:in `check'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:153:in `block in run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/timers-4.0.1/lib/timers/group.rb:52:in `wait'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:150:in `run'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor.rb:130:in `block in start'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/thread_handle.rb:13:in `block in initialize'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/actor_system.rb:32:in `block in get_thread'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `call'
/webapps/myapp/shared/bundle/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/internal_pool.rb:130:in `block in create'
2015-08-31T21:54:21.988Z 27142 TID-9rufo UpdateCreativeJob JID-93c938c1910954d04616a70e INFO: done: 1707.355 sec
2015-08-31T21:54:23.373Z 27142 TID-9rufo GoogleAnalyticsFbReferencesJob JID-4f6989f0fb5d53a80b169cd9 INFO: start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment