https://blog.csdn.net/ouyang_peng/article/details/84066417
2021.11.30记 根据上面文章大佬捣鼓完运行了几天后问题还是存在,给服务器加了4G内存后占用还是很大.
在重新加载gitlab配置的时候发现一句话
* unicorn['worker_processes'] has been deprecated since 13.10 and will be removed in 14.0. Starting with GitLab 14.0, Unicorn is no longer supported and users must switch to Puma, following https://docs.gitlab.com/ee/administration/operations/puma.html.
* unicorn['worker_memory_limit_min'] has been deprecated since 13.10 and will be removed in 14.0. Starting with GitLab 14.0, Unicorn is no longer supported and users must switch to Puma, following https://docs.gitlab.com/ee/administration/operations/puma.html.
* unicorn['worker_memory_limit_max'] has been deprecated since 13.10 and will be removed in 14.0. Starting with GitLab 14.0, Unicorn is no longer supported and users must switch to Puma, following https://docs.gitlab.com/ee/administration/operations/puma.html.
这三个参数我都修改过,但是现在提示我unicorn 已经不用了,我的gitlab版本是13.12.10.
注释掉这三个参数,将puma[‘worker_processes’] = 2解开注释 就在unicorn 下边
gitlab-ctl reconfigure
gitlab-ctl restart
已经没有提示了