[error] RabbitMQ and Rails

7 views
Skip to first unread message

Tiago Almeida

unread,
Oct 6, 2015, 2:40:29 PM10/6/15
to bunny-amqp
Hi everyone !

I have a rails app that uses a rabbitMQ (gem bunny) and sidekiq for background jobs. 

About 1 month ago we are receiving a lot of timeout errors. I can find a reason for that. 

Has anyone received this error?

I'm using RabbitMQ 3.5.1, Erlang 17.5

Above there is two examples of error

  •  Actor crashed!
  • Timeout::Error: Timeout::Error
  • /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/concurrent/continuation_queue.rb:33:in `block in poll'
  •   /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/concurrent/continuation_queue.rb:30:in `synchronize'
  • /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/concurrent/continuation_queue.rb:30:in `poll'
  •   /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/channel.rb:1814:in `wait_on_confirms_continuations'
  • /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/channel.rb:1434:in `wait_for_confirms'
  • /apps/workflow/releases/20151006175312/lib/el/queue_publisher.rb:23:in `publish'
  •   (eval):3:in `block in publish_with_newrelic_transaction_trace'
  •   /apps/workflow/shared/bundle/ruby/2.2.0/gems/newrelic_rpm-3.13.2.302/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:362:in `perform_action_with_newrelic_trace'
  • (eval):2:in `publish_with_newrelic_transaction_trace'



  •  2015-10-06T18:00:56.953Z 17078 TID-nqgrs Actions::SendOneDayBeforeAfternoonReminder JID-79fa1e6866804c31a500ae84 INFO: fail: 15.581 sec
  •  2015-10-06T18:00:56.958Z 17078 TID-nqgrs WARN: {"class"=>"Actions::SendOneDayBeforeAfternoonReminder", "args"=>[194671], "retry"=>true, "queue"=>"default", "jid"=>"79fa1e6866804c31a500ae84", "created_at"=>1443712707.1468196, "enqueued_at"=>1444154441.3665693, "error_message"=>"Timeout::Error", "error_class"=>"Timeout::Error", "failed_at"=>1444154409.8258154, "retry_count"=>1, "retried_at"=>1444154456.9516077}
  •  2015-10-06T18:00:56.958Z 17078 TID-nqgrs WARN: Timeout::Error: Timeout::Error
  •  2015-10-06T18:00:56.958Z 17078 TID-nqgrs WARN: /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/concurrent/continuation_queue.rb:33:in `block in poll'
  •  /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/concurrent/continuation_queue.rb:30:in `synchronize'
  •  /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/concurrent/continuation_queue.rb:30:in `poll'
  •  /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/channel.rb:1814:in `wait_on_confirms_continuations'
  • /apps/workflow/shared/bundle/ruby/2.2.0/gems/bunny-2.2.0/lib/bunny/channel.rb:1434:in `wait_for_confirms'
  • /apps/workflow/releases/20151006175312/lib/el/queue_publisher.rb:23:in `publish'

have already tried to increase the heartbeat interval but apparently it did not work. We've checked the RabbitMQ log and do not see any problems.

Is there another information that is important to share and help with this problem?
Reply all
Reply to author
Forward
0 new messages