Skip to content

Request for reaper documentation #673

Answered by mhenrixon
RobsonKing asked this question in Q&A
Discussion options

You must be logged in to vote
  1. What does the reaper process do? My understanding is that it cleans ups locks that are orphaned.

It indeed cleans up orphaned locks

  1. What are orphaned locks in the context of sidekiq unique jobs? Are they locks for jobs that are no longer running, or is it related to lock timeouts?

Jobs that were completed but for whatever reason the lock wasn't cleaned up.

  1. What is the reason that locks became orphaned? Are they expected? Or should they only occur in rare situations (restarts, crashes, etc)

The most common use case for this is the restart of sidekiq, or killing the sidekiq server process. There are a lot of things that can go wrong in a distributed redis setup and the reaper ju…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jpriollaud
Comment options

@mhenrixon
Comment options

Answer selected by mhenrixon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #671 on December 30, 2021 07:50.