https://blog.csdn.net/ouyang_peng/article/details/84066417
2021.11.30記 根據(jù)上面文章大佬搗鼓完運(yùn)行了幾天后問題還是存在,給服務(wù)器加了4G內(nèi)存后占用還是很大.
在重新加載gitlab配置的時(shí)候發(fā)現(xiàn)一句話
* 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.
這三個(gè)參數(shù)我都修改過,但是現(xiàn)在提示我unicorn 已經(jīng)不用了,我的gitlab版本是13.12.10.
注釋掉這三個(gè)參數(shù),將puma[‘worker_processes’] = 2解開注釋 就在unicorn 下邊
gitlab-ctl reconfigure
gitlab-ctl restart
已經(jīng)沒有提示了