首选 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

 

相关文章:

  • 2021-10-17
  • 2021-12-09
  • 2021-11-24
  • 2022-12-23
  • 2021-06-21
  • 2021-05-21
猜你喜欢
  • 2021-05-23
  • 2022-12-23
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案