[Sidekiq 002.2] Signal Handling
16 0 4264
Interacting with your Sidekiq worker processes via UNIX signals.
This is a free DailyDrip for Sidekiq. The text version of the content is also available, at https://www.dailydrip.com/topics/sidekiq/drips/signal-handling
By anonymous 2017-09-20
So after you find you proces_id, use the below command, that will stop the workers from getting new jobs, and they will finish existing jobs.
kill -USR1 [PROCESS_ID]
After that you can kill them
kill -TERM [PROCESS_ID]
Also there is a page on sidekiq/wiki about this, called Signals.
Here is the signal page.
Popular Videos 385
Submit Your Video