GitLab memory requirements
Summary
gitlab becomes slower and slower after some time of running.
Steps to reproduce
(How one can reproduce the issue - this is very important)
What is the current bug behavior?
gitlab becomes very slow.
What is the expected correct behavior?
(What you should see instead)
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
[root@git.sd ~]$ gitlab-rake gitlab:env:info
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.3.3p222
Gem Version: 2.6.6
Bundler Version:1.13.7
Rake Version: 10.5.0
Redis Version: 3.2.5
Git Version: 2.10.2
Sidekiq Version:4.2.7
GitLab information
Version: 9.0.2
Revision: 3e59fd2
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql
URL: http://git.sd.bqvision.com
HTTP Clone URL: http://git.sd.bqvision.com/some-group/some-project.git
SSH Clone URL: git@git.sd.bqvision.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 5.0.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks/
Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
[root@git.sd ~]$ gitlab-rake gitlab:check SANITIZE=true
Checking GitLab Shell ...
GitLab Shell version >= 5.0.0 ? ... OK (5.0.0)
Repo base directory exists?
default... yes
Repo storage directories are symlinks?
default... no
Repo paths owned by git:git?
default... yes
Repo paths access is drwxrws---?
default... yes
hooks directories in repos are links: ...
5/1 ... ok
7/7 ... ok
5/8 ... ok
5/9 ... ok
6/10 ... ok
4/11 ... ok
7/12 ... ok
12/14 ... ok
12/15 ... ok
12/16 ... ok
5/17 ... ok
5/18 ... ok
22/20 ... ok
6/21 ... ok
6/22 ... ok
6/23 ... ok
6/24 ... ok
6/25 ... ok
6/26 ... ok
6/27 ... ok
6/28 ... ok
13/32 ... ok
5/33 ... ok
5/34 ... ok
5/35 ... ok
5/36 ... ok
7/37 ... ok
7/38 ... ok
7/39 ... ok
7/40 ... ok
5/41 ... ok
6/45 ... ok
13/46 ... ok
13/47 ... ok
7/48 ... ok
5/49 ... ok
11/50 ... ok
17/52 ... ok
13/53 ... ok
13/54 ... ok
13/55 ... ok
13/57 ... ok
13/58 ... ok
13/59 ... ok
13/60 ... ok
13/61 ... ok
13/62 ... ok
13/63 ... ok
13/64 ... ok
13/65 ... ok
13/66 ... ok
5/67 ... ok
4/68 ... ok
4/69 ... ok
7/70 ... ok
7/71 ... ok
7/72 ... ok
7/73 ... ok
7/74 ... ok
7/75 ... ok
7/76 ... ok
7/77 ... ok
7/78 ... ok
7/79 ... ok
6/80 ... ok
6/81 ... ok
6/82 ... ok
6/83 ... ok
6/84 ... ok
7/85 ... ok
13/86 ... ok
13/87 ... ok
13/88 ... ok
13/89 ... ok
4/90 ... ok
13/91 ... ok
13/93 ... ok
11/94 ... ok
22/95 ... ok
17/96 ... ok
2/98 ... ok
7/99 ... ok
36/100 ... ok
5/101 ... ok
5/102 ... ok
13/103 ... ok
4/104 ... ok
2/105 ... ok
21/107 ... ok
23/109 ... ok
23/111 ... repository is empty
23/112 ... repository is empty
24/113 ... ok
23/114 ... ok
24/115 ... ok
24/116 ... ok
24/117 ... ok
24/118 ... ok
24/119 ... ok
24/120 ... ok
24/121 ... ok
5/123 ... ok
5/124 ... ok
5/125 ... ok
11/126 ... ok
36/127 ... ok
23/128 ... ok
10/129 ... ok
39/130 ... ok
40/131 ... repository is empty
40/132 ... ok
2/133 ... ok
41/134 ... ok
41/135 ... repository is empty
41/136 ... repository is empty
41/137 ... repository is empty
Running /opt/gitlab/embedded/service/gitlab-shell/bin/check
Check GitLab API access: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK
Send ping to redis server: OK
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... no
Try fixing it:
sudo -u git -H RAILS_ENV=production bin/background_jobs start
For more information see:
doc/install/installation.md in section "Install Init Script"
see log/sidekiq.log for possible errors
Please fix the error above and rerun the checks.
Checking Sidekiq ... Finished
Checking Reply by email ...
Reply by email is disabled in config/gitlab.yml
Checking Reply by email ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Git configured with autocrlf=input? ... yes
Database config exists? ... yes
All migrations up? ... yes
Database contains orphaned GroupMembers? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Uploads directory setup correctly? ... no
Try fixing it:
sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads
sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} \;
sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} \;
For more information see:
doc/install/installation.md in section "GitLab"
Please fix the error above and rerun the checks.
Init script exists? ... skipped (omnibus-gitlab has no init script)
Init script up-to-date? ... skipped (omnibus-gitlab has no init script)
projects have namespace: ...
5/1 ... yes
7/7 ... yes
5/8 ... yes
5/9 ... yes
6/10 ... yes
4/11 ... yes
7/12 ... yes
12/14 ... yes
12/15 ... yes
12/16 ... yes
5/17 ... yes
5/18 ... yes
22/20 ... yes
6/21 ... yes
6/22 ... yes
6/23 ... yes
6/24 ... yes
6/25 ... yes
6/26 ... yes
6/27 ... yes
6/28 ... yes
13/32 ... yes
5/33 ... yes
5/34 ... yes
5/35 ... yes
5/36 ... yes
7/37 ... yes
7/38 ... yes
7/39 ... yes
7/40 ... yes
5/41 ... yes
6/45 ... yes
13/46 ... yes
13/47 ... yes
7/48 ... yes
5/49 ... yes
11/50 ... yes
17/52 ... yes
13/53 ... yes
13/54 ... yes
13/55 ... yes
13/57 ... yes
13/58 ... yes
13/59 ... yes
13/60 ... yes
13/61 ... yes
13/62 ... yes
13/63 ... yes
13/64 ... yes
13/65 ... yes
13/66 ... yes
5/67 ... yes
4/68 ... yes
4/69 ... yes
7/70 ... yes
7/71 ... yes
7/72 ... yes
7/73 ... yes
7/74 ... yes
7/75 ... yes
7/76 ... yes
7/77 ... yes
7/78 ... yes
7/79 ... yes
6/80 ... yes
6/81 ... yes
6/82 ... yes
6/83 ... yes
6/84 ... yes
7/85 ... yes
13/86 ... yes
13/87 ... yes
13/88 ... yes
13/89 ... yes
4/90 ... yes
13/91 ... yes
13/93 ... yes
11/94 ... yes
22/95 ... yes
17/96 ... yes
2/98 ... yes
7/99 ... yes
36/100 ... yes
5/101 ... yes
5/102 ... yes
13/103 ... yes
4/104 ... yes
2/105 ... yes
21/107 ... yes
23/109 ... yes
23/111 ... yes
23/112 ... yes
24/113 ... yes
23/114 ... yes
24/115 ... yes
24/116 ... yes
24/117 ... yes
24/118 ... yes
24/119 ... yes
24/120 ... yes
24/121 ... yes
5/123 ... yes
5/124 ... yes
5/125 ... yes
11/126 ... yes
36/127 ... yes
23/128 ... yes
10/129 ... yes
39/130 ... yes
40/131 ... yes
40/132 ... yes
2/133 ... yes
41/134 ... yes
41/135 ... yes
41/136 ... yes
41/137 ... yes
Redis version >= 2.8.0? ... yes
Ruby version >= 2.1.0 ? ... yes (2.3.3)
Your git bin path is "/opt/gitlab/embedded/bin/git"
Git version >= 2.7.3 ? ... yes (2.10.2)
Active users: 15
Checking GitLab ... Finished
Edited by Mark Fletcher

