首页 > 其他 > 详细

gitlab占用内存太多

时间:2020-07-08 00:02:54      阅读:165      评论:0      收藏: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

 

gitlab占用内存太多

原文:https://www.cnblogs.com/xiangshihua/p/13264101.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!