阅读量:0
sudo docker exec -it gitlab /bin/bash vi /etc/gitlab/gitlab.rb ## 配置文件开始 ## # 注释中的是原值 puma['worker_processes'] = 0 puma['min_threads'] = 3 # 4 puma['max_threads'] = 3 # 4 sidekiq['max_concurrency'] = 8 # 50 gitaly['configuration'] = { concurrency: [ { 'rpc' => "/gitaly.SmartHTTPService/PostReceivePack", 'max_per_repo' => 10, # 20 }, { 'rpc' => "/gitaly.SSHService/SSHUploadPack", #'max_per_repo' => 3, # 5 }, ], cgroups: { repositories: { #count: 10, # 1000 }, mountpoint: '/sys/fs/cgroup', hierarchy_root: 'gitaly', }, } ## 配置文件结束 ## # 在容器中重新应用配置 gitlab-ctl reconfigure gitlab-ctl restart gitlab-ctl status # 查看各个组件状态