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
a0e1453f
Commit
a0e1453f
authored
Sep 22, 2020
by
Evan Read
Committed by
Achilleas Pipinellis
Sep 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit Gitaly timeouts documentation
parent
653e3b2e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
24 deletions
+19
-24
doc/administration/gitaly/index.md
doc/administration/gitaly/index.md
+3
-0
doc/user/admin_area/settings/gitaly_timeouts.md
doc/user/admin_area/settings/gitaly_timeouts.md
+16
-24
doc/user/admin_area/settings/img/gitaly_timeouts.png
doc/user/admin_area/settings/img/gitaly_timeouts.png
+0
-0
No files found.
doc/administration/gitaly/index.md
View file @
a0e1453f
...
...
@@ -1021,6 +1021,9 @@ The second facet presents the only real solution. For this, we developed
## Troubleshooting Gitaly
Check
[
Gitaly timeouts
](
../../user/admin_area/settings/gitaly_timeouts.md
)
when troubleshooting
Gitaly.
### Checking versions when using standalone Gitaly servers
When using standalone Gitaly servers, you must make sure they are the same version
...
...
doc/user/admin_area/settings/gitaly_timeouts.md
View file @
a0e1453f
...
...
@@ -3,36 +3,28 @@ stage: Create
group
:
Gitaly
info
:
"
To
determine
the
technical
writer
assigned
to
the
Stage/Group
associated
with
this
page,
see
https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers"
type
:
reference
type
:
reference
---
# Gitaly timeouts
![
Gitaly timeouts
](
img/gitaly_timeouts.png
)
3 timeout types can be configured to make sure that long running
Gitaly calls don't needlessly take up resources.
-
Default timeout
This timeout is the default for most Gitaly calls.
It should be shorter than the worker timeout that can be configured
for
[
Puma
](
https://docs.gitlab.com/omnibus/settings/puma.html#puma-settings
)
or
[
Unicorn
](
https://docs.gitlab.com/omnibus/settings/unicorn.html
)
.
This makes sure that Gitaly calls made within a web request cannot
exceed these the entire request timeout.
# Gitaly timeouts **(CORE ONLY)**
The default for this timeout is 55 seconds.
[
Gitaly
](
../../../administration/gitaly/index.md
)
timeouts are configurable. The timeouts can be
configured to make sure that long running Gitaly calls don't needlessly take up resources.
-
Fast timeout
To access Gitaly timeout settings:
This is the timeout for very short Gitaly calls.
1.
Go to
**Admin Area > Settings > Preferences**
.
1.
Expand the
**Gitaly**
section.
The default for this timeout is 10 seconds.
## Available timeouts
-
Medium timeout
The following timeouts can be modified:
This timeout should be between the default and the fast timeout
-
**Default Timeout Period**
. This timeout is the default for most Gitaly calls. It should be shorter than the
worker timeout that can be configured for
[
Puma
](
https://docs.gitlab.com/omnibus/settings/puma.html#puma-settings
)
or
[
Unicorn
](
https://docs.gitlab.com/omnibus/settings/unicorn.html
)
. Used to make sure that Gitaly
calls made within a web request cannot exceed the entire request timeout.
Defaults to 55 seconds.
The default for this timeout is 30 seconds.
-
**Fast Timeout Period**
. This is the timeout for very short Gitaly calls. Defaults to 10 seconds.
-
**Medium Timeout Period**
. This timeout should be between the default and the fast timeout.
Defaults to 30 seconds.
doc/user/admin_area/settings/img/gitaly_timeouts.png
deleted
100644 → 0
View file @
653e3b2e
24.1 KB
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