[Sidekiq 002.2] Signal Handling

By: DailyDrip

16   0   4264

Uploaded on 03/08/2016

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

Comments (2):

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.

[edit]

Here is the signal page.

[edit]

Check video

Original Thread

Recommended Books

    Popular Videos 387

    Submit Your Video

    If you have some great dev videos to share, please fill out this form.