diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-11-02 15:33:53 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2017-11-02 15:33:53 +0000 |
commit | 62ab17798d10fe2f66498fdffda427ffde291b73 (patch) | |
tree | ac02ffe64cff6ef5bfbe5528edaeb7a78271852b /doc | |
parent | 56dccc2e1089e2866d0442cac379b3f93c98a55f (diff) | |
parent | ccb5bad6b8ff73df978b03a1ede8051ea78b2ee9 (diff) | |
download | gitlab-ce-62ab17798d10fe2f66498fdffda427ffde291b73.tar.gz |
Merge branch 'dm-sidekiq-sigstp' into 'master'
Send SIGSTP before SIGTERM to actually give Sidekiq jobs 30s to finish when the memory killer kicks in
See merge request gitlab-org/gitlab-ce!15102
Diffstat (limited to 'doc')
-rw-r--r-- | doc/administration/operations/sidekiq_memory_killer.md | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/doc/administration/operations/sidekiq_memory_killer.md b/doc/administration/operations/sidekiq_memory_killer.md index b5e78348989..cbffd883774 100644 --- a/doc/administration/operations/sidekiq_memory_killer.md +++ b/doc/administration/operations/sidekiq_memory_killer.md @@ -28,7 +28,7 @@ The MemoryKiller is controlled using environment variables. delayed shutdown is triggered. The default value for Omnibus packages is set [in the omnibus-gitlab repository](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/files/gitlab-cookbooks/gitlab/attributes/default.rb). -- `SIDEKIQ_MEMORY_KILLER_GRACE_TIME`: defaults 900 seconds (15 minutes). When +- `SIDEKIQ_MEMORY_KILLER_GRACE_TIME`: defaults to 900 seconds (15 minutes). When a shutdown is triggered, the Sidekiq process will keep working normally for another 15 minutes. - `SIDEKIQ_MEMORY_KILLER_SHUTDOWN_WAIT`: defaults to 30 seconds. When the grace @@ -36,5 +36,3 @@ The MemoryKiller is controlled using environment variables. Existing jobs get 30 seconds to finish. After that, the MemoryKiller tells Sidekiq to shut down, and an external supervision mechanism (e.g. Runit) must restart Sidekiq. -- `SIDEKIQ_MEMORY_KILLER_SHUTDOWN_SIGNAL`: defaults to `SIGKILL`. The name of - the final signal sent to the Sidekiq process when we want it to shut down. |