Where to find "/etc/gitlab/gitlab.rb" path?
-
I have to configure GitLab sidekiq and puma for memory optimization in my cloudron server but I'm not able to find the path
/etc/gitlab/gitlab.rb
in the ubuntu 20.04. Where can I find thegitlab.rb
file? -
@arshsahzad the Cloudron package is using
/app/data/gitlab.yml
to configure GitLab. See https://docs.gitlab.com/omnibus/settings/gitlab.yml.html on how to mapgitlab.rb
key values togitlab.yml
ones. -
@nebulon ah good hint. Please add this to https://docs.cloudron.io/apps/gitlab/
-
@nebulon, I recently switched from Gitea to GitLab and the GitLab instance have only 5 users but it is taking around 2.6GB RAM space in my cloudron server. I have to apply below these configurations in
gitlab.yml
because it will optimize and save around 500Mb RAM space:-#gitlab.rb configuration puma['worker_processes'] = 0 sidekiq['max_concurrency'] = 10 prometheus_monitoring['enable'] = false
Translate for
gitlab.yml
puma: worker_processes: 0 sidekiq: max_concurrency: 10 prometheus_monitoring enable: false
I put the sidekiq config in line 349 but don't know where to put puma and prometheus_monitoring?
-
@arshsahzad From my experience: if you have to deal with RAM, don't use gitlab. Currently, one of my Gitlab instances uses 4.5 GB RAM with 10 users and it's slow.