diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-10-31 10:33:30 +0100 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-11-02 15:33:19 +0100 |
commit | ccb5bad6b8ff73df978b03a1ede8051ea78b2ee9 (patch) | |
tree | 16d4f49e46952ead9652f0eee441102464dfca56 /doc/administration/operations | |
parent | b8f5239f2b7592fadfe6f4c6fa30b565c5a09d9f (diff) | |
download | gitlab-ce-ccb5bad6b8ff73df978b03a1ede8051ea78b2ee9.tar.gz |
Send SIGSTP before SIGTERM to actually give Sidekiq jobs 30s to finish when the memory killer kicks indm-sidekiq-sigstp
Diffstat (limited to 'doc/administration/operations')
-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. |