Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4e6f2390
Commit
4e6f2390
authored
Jun 02, 2021
by
Abhijeet Chatterjee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Vale issues for (/administration/operations/sidekiq_memory_killer.md)
parent
0c17e1c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
doc/administration/operations/sidekiq_memory_killer.md
doc/administration/operations/sidekiq_memory_killer.md
+8
-8
No files found.
doc/administration/operations/sidekiq_memory_killer.md
View file @
4e6f2390
...
...
@@ -19,7 +19,7 @@ _only_ for Omnibus packages. The reason for this is that the MemoryKiller
relies on runit to restart Sidekiq after a memory-induced shutdown and GitLab
installations from source do not all use runit or an equivalent.
With the default settings, the MemoryKiller
will cause
a Sidekiq restart no
With the default settings, the MemoryKiller
causes
a Sidekiq restart no
more often than once every 15 minutes, with the restart causing about one
minute of delay for incoming background jobs.
...
...
@@ -48,13 +48,13 @@ The MemoryKiller is controlled using environment variables.
`SIDEKIQ_MEMORY_KILLER_MAX_RSS`
defines the Sidekiq process allowed RSS.
In _legacy_ mode, if the Sidekiq process exceeds the allowed RSS then an irreversible
delayed graceful restart
will be triggered. The restart of Sidekiq will happen
delayed graceful restart
is triggered. The restart of Sidekiq happens
after
`SIDEKIQ_MEMORY_KILLER_GRACE_TIME`
seconds.
In _daemon_ mode, if the Sidekiq process exceeds the allowed RSS for longer than
`SIDEKIQ_MEMORY_KILLER_GRACE_TIME`
the graceful restart
will be
triggered. If the
`SIDEKIQ_MEMORY_KILLER_GRACE_TIME`
the graceful restart
is
triggered. If the
Sidekiq process go below the allowed RSS within
`SIDEKIQ_MEMORY_KILLER_GRACE_TIME`
,
the restart
will be
aborted.
the restart
is
aborted.
The default value for Omnibus packages is set
[
in the Omnibus GitLab
...
...
@@ -71,13 +71,13 @@ The MemoryKiller is controlled using environment variables.
The usage of this variable is described as part of
`SIDEKIQ_MEMORY_KILLER_MAX_RSS`
.
-
`SIDEKIQ_MEMORY_KILLER_SHUTDOWN_WAIT`
: defaults to 30 seconds. This defines the
maximum time allowed for all Sidekiq jobs to finish. No new jobs
will b
e accepted
during that time, and the process
will exit
as soon as all jobs finish.
maximum time allowed for all Sidekiq jobs to finish. No new jobs
ar
e accepted
during that time, and the process
exits
as soon as all jobs finish.
If jobs do not finish during that time, the MemoryKiller
will interrupt
all currently
If jobs do not finish during that time, the MemoryKiller
interrupts
all currently
running jobs by sending
`SIGTERM`
to the Sidekiq process.
If the process hard shutdown/restart is not performed by Sidekiq,
the Sidekiq process
will be
forcefully terminated after
the Sidekiq process
is
forcefully terminated after
`Sidekiq.options[:timeout] + 2`
seconds. An external supervision mechanism
(e.g. runit) must restart Sidekiq afterwards.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment