Skip to content

Instantly share code, notes, and snippets.

@mperham
Created May 8, 2020 15:54
Show Gist options
  • Save mperham/a3b16efd38eada2fc0b06498aa0ab6f0 to your computer and use it in GitHub Desktop.
Save mperham/a3b16efd38eada2fc0b06498aa0ab6f0 to your computer and use it in GitHub Desktop.
AJ vs Sidekiq backtraces
2020-05-08T15:52:22.241Z pid=10710 tid=2me WARN: RuntimeError: boom
2020-05-08T15:52:22.241Z pid=10710 tid=2me WARN: /Users/mikeperham/src/sidekiq/myapp/app/jobs/some_job.rb:5:in `perform'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/execution.rb:40:in `block in perform_now'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/i18n-1.8.2/lib/i18n.rb:313:in `with_locale'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `instance_exec'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/core_ext/time/zones.rb:66:in `use_zone'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/timezones.rb:9:in `block (2 levels) in <module:Timezones>'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `instance_exec'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/logging.rb:25:in `block (4 levels) in <module:Logging>'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/notifications.rb:180:in `block in instrument'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/notifications.rb:180:in `instrument'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/logging.rb:24:in `block (3 levels) in <module:Logging>'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/logging.rb:45:in `block in tag_logger'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/tagged_logging.rb:80:in `block in tagged'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/tagged_logging.rb:28:in `tagged'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/tagged_logging.rb:80:in `tagged'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/logging.rb:45:in `tag_logger'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/logging.rb:21:in `block (2 levels) in <module:Logging>'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `instance_exec'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:139:in `run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/execution.rb:39:in `perform_now'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/execution.rb:25:in `block in execute'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/railtie.rb:43:in `block (4 levels) in <class:Railtie>'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/execution_wrapper.rb:88:in `wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/reloader.rb:72:in `block in wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/execution_wrapper.rb:84:in `wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/reloader.rb:71:in `wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/railtie.rb:42:in `block (3 levels) in <class:Railtie>'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `instance_exec'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/callbacks.rb:139:in `run_callbacks'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/execution.rb:23:in `execute'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activejob-6.0.3/lib/active_job/queue_adapters/sidekiq_adapter.rb:42:in `perform'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:196:in `execute_job'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:164:in `block (2 levels) in process'
/Users/mikeperham/src/sidekiq/lib/sidekiq/middleware/chain.rb:133:in `invoke'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:163:in `block in process'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_retry.rb:111:in `local'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/rails.rb:43:in `block in call'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/execution_wrapper.rb:88:in `wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/reloader.rb:72:in `block in wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/execution_wrapper.rb:88:in `wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/reloader.rb:71:in `wrap'
/Users/mikeperham/src/sidekiq/lib/sidekiq/rails.rb:42:in `call'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:257:in `stats'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_logger.rb:13:in `call'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_retry.rb:78:in `global'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:124:in `block in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/logger.rb:10:in `with'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_logger.rb:33:in `prepare'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:123:in `dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:162:in `process'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:78:in `process_one'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:68:in `run'
/Users/mikeperham/src/sidekiq/lib/sidekiq/util.rb:15:in `watchdog'
/Users/mikeperham/src/sidekiq/lib/sidekiq/util.rb:24:in `block in safe_thread'
020-05-08T15:53:31.032Z pid=10914 tid=2sy WARN: RuntimeError: crash
2020-05-08T15:53:31.032Z pid=10914 tid=2sy WARN: /Users/mikeperham/src/sidekiq/myapp/app/workers/hard_worker.rb:6:in `perform'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:196:in `execute_job'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:164:in `block (2 levels) in process'
/Users/mikeperham/src/sidekiq/lib/sidekiq/middleware/chain.rb:133:in `invoke'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:163:in `block in process'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:136:in `block (6 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_retry.rb:111:in `local'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:135:in `block (5 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/rails.rb:43:in `block in call'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/execution_wrapper.rb:88:in `wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/reloader.rb:72:in `block in wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/execution_wrapper.rb:88:in `wrap'
/Users/mikeperham/.gem/ruby/2.7.1/gems/activesupport-6.0.3/lib/active_support/reloader.rb:71:in `wrap'
/Users/mikeperham/src/sidekiq/lib/sidekiq/rails.rb:42:in `call'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:131:in `block (4 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:257:in `stats'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:126:in `block (3 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_logger.rb:13:in `call'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:125:in `block (2 levels) in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_retry.rb:78:in `global'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:124:in `block in dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/logger.rb:10:in `with'
/Users/mikeperham/src/sidekiq/lib/sidekiq/job_logger.rb:33:in `prepare'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:123:in `dispatch'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:162:in `process'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:78:in `process_one'
/Users/mikeperham/src/sidekiq/lib/sidekiq/processor.rb:68:in `run'
/Users/mikeperham/src/sidekiq/lib/sidekiq/util.rb:15:in `watchdog'
/Users/mikeperham/src/sidekiq/lib/sidekiq/util.rb:24:in `block in safe_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment