Replies: 7 comments 10 replies
-
I apologize if it's super obvious, but I don't understand what the inner loop is (in reference to point 2)? Reducing concurrency to 1 did not solve the problem, so I would like to try option 2. Thank you for putting this comment in the logs either way 🙂 |
Beta Was this translation helpful? Give feedback.
-
I believe that @mperham meant that if you have a CPU-heavy operation, it likely involves some sort of looping, perhaps deeply nested inside other loops. You can call |
Beta Was this translation helpful? Give feedback.
-
Also running into this problem in my application. I have concurrency set to 1 and also running |
Beta Was this translation helpful? Give feedback.
-
Also seeing this issue on Heroku...
|
Beta Was this translation helpful? Give feedback.
-
My Case: I need to call many requests in synchronized order -> so, the RTT has to be high because of network latency. |
Beta Was this translation helpful? Give feedback.
-
Same Redis instance. |
Beta Was this translation helpful? Give feedback.
-
We were getting the same error, thanks to #2175 (comment) we were able to fix the issue |
Beta Was this translation helpful? Give feedback.
-
I wanted to create a note regarding behavior that several Sidekiq users have seen recently. The new Redis RTT warning in Sidekiq v6.2.x can trigger if you greatly overload Sidekiq with work. Because it is CPU overloaded, other threads might not be able to get CPU time quickly and that can look like Redis network latency.
The solution is:
Thread.pass
occasionally in your inner loop. This tells MRI to schedule other threads, allowing time for housekeeping and other Sidekiq internal threads (e.g. cron, job scheduling).Beta Was this translation helpful? Give feedback.
All reactions