Skip to content

bin/background_jobs: use pgroups

What does this MR do?

Modifies the bin/background_jobs script to start sidekiq in its own process group if the chpst program is available.

This script is used to run sidekiq in from-source and GDK installations. Putting sidekiq into a pgroup means we can reliably kill it, and all its children, at the same time.

I don't think we use it in cloud native setups. I need to check whether that's the case or not, although it shouldn't matter either way.

If chpst isn't installed, we fall back to the original behaviour.

What are the relevant issue numbers?

Does this MR meet the acceptance criteria?

Closes #40396 (closed)

Edited by Nick Thomas

Merge request reports