Ubuntu

最低要求伺服器上的 Gitlab

  • November 13, 2020

我正在嘗試安裝 gitlab 供私人使用。我想盡可能少付錢,所以我在 ovh 上使用了最便宜的伺服器,在 Ubuntu 上安裝 GitLab 後,我收到以下錯誤頁面“502 錯誤 GitLab 需要太多時間來響應”。我怎樣才能最小化記憶體使用,它會只在 2GB 記憶體上執行嗎?

2G就不行了。Gitlab 是一個臭名昭著的記憶豬。

來自文件:https ://docs.gitlab.com/ee/install/requirements.html

4GB RAM 是所需的最小記憶體大小

官方文件明確指出“Gitlab 存在記憶體洩漏”(https://docs.gitlab.com/ee/administration/operations/unicorn.html#unicorn-worker-killer

更多細節:

https://about.gitlab.com/handbook/engineering/development/enablement/memory/

https://news.ycombinator.com/item?id=17379523

引用自:https://serverfault.com/questions/1042474