问题:
gitlab的内存占用高
解:
更改/etc/gitlab/gitlab.rb
unicorn['worker_memory_limit_min'] = "200 * 1 << 20"
unicorn['worker_memory_limit_max'] = "300 * 1 << 20"
sidekiq['concurrency'] = 16
postgresql['shared_buffers'] = "256MB"
postgresql['max_worker_processes'] = 8
unicorn['worker_processes'] = 10
gitlab-ctl reconfigure 重新加载配置
gitlab-ctl start 启动gitlab
gitlab的内存占用高
最新推荐文章于 2024-08-02 20:11:04 发布