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
a69892f4
Commit
a69892f4
authored
Aug 02, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
2135f504
8374dd56
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
22 deletions
+23
-22
config/initializers/0_inject_enterprise_edition_module.rb
config/initializers/0_inject_enterprise_edition_module.rb
+2
-0
doc/administration/high_availability/README.md
doc/administration/high_availability/README.md
+8
-8
doc/install/requirements.md
doc/install/requirements.md
+10
-14
qa/qa.rb
qa/qa.rb
+3
-0
No files found.
config/initializers/0_inject_enterprise_edition_module.rb
View file @
a69892f4
# frozen_string_literal: true
# frozen_string_literal: true
require
'active_support/inflector'
module
InjectEnterpriseEditionModule
module
InjectEnterpriseEditionModule
def
prepend_if_ee
(
constant
)
def
prepend_if_ee
(
constant
)
prepend
(
constant
.
constantize
)
if
Gitlab
.
ee?
prepend
(
constant
.
constantize
)
if
Gitlab
.
ee?
...
...
doc/administration/high_availability/README.md
View file @
a69892f4
...
@@ -172,14 +172,14 @@ environment that supports about 10,000 users. The specifications below are a
...
@@ -172,14 +172,14 @@ environment that supports about 10,000 users. The specifications below are a
representation of the work so far. The specifications may be adjusted in the
representation of the work so far. The specifications may be adjusted in the
future based on additional testing and iteration.
future based on additional testing and iteration.
-
3 PostgreSQL - 4 CPU,
8GB RAM
per node
-
3 PostgreSQL - 4 CPU,
16GiB memory
per node
-
1 PgBouncer - 2 CPU, 4G
B RAM
-
1 PgBouncer - 2 CPU, 4G
iB memory
-
2 Redis - 2 CPU, 8G
B RAM
per node
-
2 Redis - 2 CPU, 8G
iB memory
per node
-
3 Consul/Sentinel - 2 CPU, 2G
B RAM
per node
-
3 Consul/Sentinel - 2 CPU, 2G
iB memory
per node
-
4 Sidekiq - 4 CPU,
8GB RAM
per node
-
4 Sidekiq - 4 CPU,
16GiB memory
per node
-
5 GitLab application nodes -
20 CPU, 64GB RAM
per node
-
5 GitLab application nodes -
16 CPU, 64GiB memory
per node
-
1 Gitaly -
20 CPU, 64GB RAM
-
1 Gitaly -
16 CPU, 64GiB memory
-
1 Monitoring node -
4 CPU, 8GB RAM
-
1 Monitoring node -
2 CPU, 8GiB memory, 100GiB local storage
### Fully Distributed
### Fully Distributed
...
...
doc/install/requirements.md
View file @
a69892f4
...
@@ -63,13 +63,11 @@ NOTE: **Note:** Since file system performance may affect GitLab's overall perfor
...
@@ -63,13 +63,11 @@ NOTE: **Note:** Since file system performance may affect GitLab's overall perfor
### CPU
### CPU
-
1 core supports up to 100 users but the application can be a bit slower due to having all workers and background jobs running on the same core
-
1 core supports up to 100 users but the application can be a bit slower due to having all workers and background jobs running on the same core
-
**2 cores**
is the
**recommended**
number of cores and supports up to 500 users
-
**2 cores**
is the
**recommended**
minimum number of cores and supports up to 100 users
-
4 cores supports up to 2,000 users
-
4 cores supports up to 500 users
-
8 cores supports up to 5,000 users
-
8 cores supports up to 1,000 users
-
16 cores supports up to 10,000 users
-
32 cores supports up to 5,000 users
-
32 cores supports up to 20,000 users
-
More users? Run it high-availability on
[
multiple application servers
](
https://about.gitlab.com/high-availability/
)
-
64 cores supports up to 40,000 users
-
More users? Run it on
[
multiple application servers
](
https://about.gitlab.com/high-availability/
)
### Memory
### Memory
...
@@ -80,13 +78,11 @@ less memory GitLab will give strange errors during the reconfigure run and 500
...
@@ -80,13 +78,11 @@ less memory GitLab will give strange errors during the reconfigure run and 500
errors during usage.
errors during usage.
-
4GB RAM + 4GB swap supports up to 100 users but it will be very slow
-
4GB RAM + 4GB swap supports up to 100 users but it will be very slow
-
**8GB RAM**
is the
**recommended**
memory size for all installations and supports up to 100 users
-
**8GB RAM**
is the
**recommended**
minimum memory size for all installations and supports up to 100 users
-
16GB RAM supports up to 2,000 users
-
16GB RAM supports up to 500 users
-
32GB RAM supports up to 4,000 users
-
32GB RAM supports up to 1,000 users
-
64GB RAM supports up to 8,000 users
-
128GB RAM supports up to 5,000 users
-
128GB RAM supports up to 16,000 users
-
More users? Run it high-availability on
[
multiple application servers
](
https://about.gitlab.com/high-availability/
)
-
256GB RAM supports up to 32,000 users
-
More users? Run it on
[
multiple application servers
](
https://about.gitlab.com/high-availability/
)
We recommend having at least
[
2GB of swap on your server
](
https://askubuntu.com/a/505344/310789
)
, even if you currently have
We recommend having at least
[
2GB of swap on your server
](
https://askubuntu.com/a/505344/310789
)
, even if you currently have
enough available RAM. Having swap will help reduce the chance of errors occurring
enough available RAM. Having swap will help reduce the chance of errors occurring
...
...
qa/qa.rb
View file @
a69892f4
...
@@ -4,6 +4,9 @@ $: << File.expand_path(File.dirname(__FILE__))
...
@@ -4,6 +4,9 @@ $: << File.expand_path(File.dirname(__FILE__))
Encoding
.
default_external
=
'UTF-8'
Encoding
.
default_external
=
'UTF-8'
require_relative
'../lib/gitlab'
require_relative
'../config/initializers/0_inject_enterprise_edition_module'
module
QA
module
QA
##
##
# GitLab QA runtime classes, mostly singletons.
# GitLab QA runtime classes, mostly singletons.
...
...
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