gitlab占用内存太多
2020-07-07 23:03 天心PHP 阅读(2786) 评论(0) 编辑 收藏 举报首选 free -h 查看内存情况
解决办法
修改/etc/gitlab/gitlab.rb
#2019-12-4 add by lishuo start unicorn['worker_processes'] = 4 #2019-12-4 add by lishuo end #2019-12-4 add by lishuo start postgresql['max_worker_processes'] = 4 #2019-12-4 add by lishuo end #2019-12-4 add by lishuo start nginx['worker_processes'] = 4 #2019-12-4 add by lishuo end
gitlab-ctl reconfigure #gitlab会读取配置文件参数并修改各个插件的配置文件去(我猜的)
gitlab-ctl restart