gitlab 占用过高系统资源,造成卡顿

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

已经没有提示了

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容