2014-07-10 83 views
-6

https://github.com/mperham/sidekiq/issues/1836「ERROR_MESSAGE」 =>「堆棧級別太深」,「error_class」 =>「SystemStackError」#1836

我堅持與從不同的位置後面相同的錯誤消息,並期待着一個指導出來這個問題。

下面所有的謊言下,同一類別「ERROR_MESSAGE」 =>「堆棧級別太深」,「error_class」 =>「SystemStackError」 但是從不同的地方扔從1所列5

1)記錄.RB:15

2014-07-10T06:11:36.782Z 19437 TID-ourqdth1s TwitterRealtimeWorker JID-461c4da5b70ce6d1811777d0 INFO: fail: 2.142 sec 
2014-07-10T06:11:36.786Z 19437 TID-ourqdth1s WARN: {"retry"=>1, "queue"=>"default", "throttle"=>{"threshold"=>40, "period"=>120, "key"=>{}}, "failures"=>true, "class"=>"TwitterRealtimeWorker", "args"=>[103], "jid"=>"461c4da5b70ce6d1811777d0", "enqueued_at"=>1404972666.989332, "error_message"=>"stack level too deep", "error_class"=>"SystemStackError", "failed_at"=>1404972696.778065, "retry_count"=>0, "processor"=>"Shan.local:19437"} 
2014-07-10T06:11:36.787Z 19437 TID-ourqdth1s WARN: stack level too deep 
2014-07-10T06:11:36.787Z 19437 TID-ourqdth1s WARN: /Users/user/.rvm/gems/[email protected]/gems/sidekiq-3.2.1/lib/sidekiq/middleware/server/logging.rb:15 

2)processor.rb:106

2014-07-10T06:12:14.078Z 19437 TID-ourqx6gk8 TwitterRealtimeWorker JID-461c4da5b70ce6d1811777d0 INFO: Adding dead TwitterRealtimeWorker job 461c4da5b70ce6d1811777d0 
2014-07-10T06:12:14.080Z 19437 TID-ourqx6gk8 TwitterRealtimeWorker JID-461c4da5b70ce6d1811777d0 INFO: fail: 0.285 sec 
2014-07-10T06:12:14.081Z 19437 TID-ourqx6gk8 WARN: {"retry"=>1, "queue"=>"default", "throttle"=>{"threshold"=>40, "period"=>120, "key"=>{}}, "failures"=>true, "class"=>"TwitterRealtimeWorker", "args"=>[103], "jid"=>"461c4da5b70ce6d1811777d0", "enqueued_at"=>1404972666.989332, "error_message"=>"stack level too deep", "error_class"=>"SystemStackError", "failed_at"=>1404972734.0797381, "retry_count"=>1, "retried_at"=>1404972734.0788622, "processor"=>"Shan.local:19437"} 
2014-07-10T06:12:14.081Z 19437 TID-ourqx6gk8 WARN: stack level too deep 
2014-07-10T06:12:14.081Z 19437 TID-ourqx6gk8 WARN: /Users/user/.rvm/gems/[email protected]/gems/sidekiq-3.2.1/lib/sidekiq/processor.rb:106 

3)task_fiber.rb:23

2014-07-10T06:12:03.131Z 19437 TID-ourqx6gk8 TwitterRealtimeWorker JID-f066590cbd79930efab64db2 INFO: Adding dead TwitterRealtimeWorker job f066590cbd79930efab64db2 
2014-07-10T06:12:03.133Z 19437 TID-ourqx6gk8 TwitterRealtimeWorker JID-f066590cbd79930efab64db2 INFO: fail: 0.903 sec 
2014-07-10T06:12:03.136Z 19437 TID-ourqx6gk8 WARN: {"retry"=>1, "queue"=>"default", "throttle"=>{"threshold"=>40, "period"=>120, "key"=>{}}, "failures"=>true, "class"=>"TwitterRealtimeWorker", "args"=>[102], "jid"=>"f066590cbd79930efab64db2", "enqueued_at"=>1404972665.862527, "error_message"=>"stack level too deep", "error_class"=>"SystemStackError", "failed_at"=>1404972723.1333828, "retry_count"=>1, "retried_at"=>1404972723.1315699, "processor"=>"Shan.local:19437"} 
2014-07-10T06:12:03.137Z 19437 TID-ourqx6gk8 WARN: stack level too deep 
2014-07-10T06:12:03.137Z 19437 TID-ourqx6gk8 WARN: /Users/user/.rvm/gems/[email protected]/gems/celluloid-0.15.2/lib/celluloid/tasks/task_fiber.rb:23 
2014-07-10T06:12:13.795Z 19437 TID-ourqx6gk8 TwitterRealtimeWorker JID-461c4da5b70ce6d1811777d0 INFO: start 

4)retry_jobs.rb:109

2014-07-10T06:12:02.796Z 19437 TID-ourqdth1s TwitterRealtimeWorker JID-5c2dab540501a7e3aa052990 INFO: Adding dead TwitterRealtimeWorker job 5c2dab540501a7e3aa052990 
2014-07-10T06:12:02.806Z 19437 TID-ourqdth1s TwitterRealtimeWorker JID-5c2dab540501a7e3aa052990 INFO: fail: 0.613 sec 
2014-07-10T06:12:02.829Z 19437 TID-ourqdth1s WARN: {"retry"=>1, "queue"=>"default", "throttle"=>{"threshold"=>40, "period"=>120, "key"=>{}}, "failures"=>true, "class"=>"TwitterRealtimeWorker", "args"=>[99], "jid"=>"5c2dab540501a7e3aa052990", "enqueued_at"=>1404972664.478233, "error_message"=>"stack level too deep", "error_class"=>"SystemStackError", "failed_at"=>1404972722.805805, "retry_count"=>1, "retried_at"=>1404972722.796501, "processor"=>"Shan.local:19437"} 
2014-07-10T06:12:02.830Z 19437 TID-ourqdth1s WARN: stack level too deep 
2014-07-10T06:12:02.833Z 19437 TID-ourqdth1s WARN: /Users/user/.rvm/gems/[email protected]/gems/sidekiq-3.2.1/lib/sidekiq/middleware/server/retry_jobs.rb:109 

5)transactions.rb:274

2014-07-10T06:12:02.794Z 19437 TID-ourqdn5m0 TwitterRealtimeWorker JID-2381d4bcaf49ffb6f4c3a676 INFO: Adding dead TwitterRealtimeWorker job 2381d4bcaf49ffb6f4c3a676 
2014-07-10T06:12:02.806Z 19437 TID-ourqdn5m0 TwitterRealtimeWorker JID-2381d4bcaf49ffb6f4c3a676 INFO: fail: 0.615 sec 
2014-07-10T06:12:02.819Z 19437 TID-ourqdn5m0 WARN: {"retry"=>1, "queue"=>"default", "throttle"=>{"threshold"=>40, "period"=>120, "key"=>{}}, "failures"=>true, "class"=>"TwitterRealtimeWorker", "args"=>[97], "jid"=>"2381d4bcaf49ffb6f4c3a676", "enqueued_at"=>1404972662.09458, "error_message"=>"stack level too deep", "error_class"=>"SystemStackError", "failed_at"=>1404972722.804928, "retry_count"=>1, "retried_at"=>1404972722.794392, "processor"=>"Shan.local:19437"} 
2014-07-10T06:12:02.819Z 19437 TID-ourqdn5m0 WARN: stack level too deep 
2014-07-10T06:12:02.821Z 19437 TID-ourqdn5m0 WARN: /Users/user/.rvm/gems/[email protected]/gems/activerecord-3.2.19/lib/active_record/transactions.rb:274 
+0

這將有助於瞭解觸發此行爲的原因 –

+1

您應該從堆棧跟蹤記錄更多行 - 如果僅顯示一行(很難看到「堆棧級別太深」,則很難看到遞歸循環_somewhere_在無限遞歸循環中......) –

+0

另外,在麻煩mperham之前,我認爲你應該在_your_代碼中解決問題。大多數機會都在你的代碼中。打開一個幾乎沒有任何數據的問題不是很有幫助或考慮周到...... –

回答

0

Sidekiq 3不支持紅寶石1.9。

相關問題