From bff0034584f47b64cad2813dc6db9bb571faecce Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 2 Dec 2014 14:39:58 +0100 Subject: [PATCH 1/2] Revert "Remove the lowest memory requirement of 512MB." This reverts commit 5cf6d5949d6c776e24d3bd5c0b417000f1efc57a. --- doc/install/requirements.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/install/requirements.md b/doc/install/requirements.md index fd59ac8a07..ed19425314 100644 --- a/doc/install/requirements.md +++ b/doc/install/requirements.md @@ -50,6 +50,11 @@ We love [JRuby](http://jruby.org/) and [Rubinius](http://rubini.us/) but GitLab ### Memory +- 512MB is the absolute minimum but we do not recommend this amount of memory. +You will either need to configure 512MB or 1.5GB of swap space. +With 512MB of swap space you must configure only one unicorn worker. +With one unicorn worker only git over ssh access will work because the git over HTTP access requires two running workers (one worker to receive the user request and one worker for the authorization check). +If you use SSD storage and configure 1.5GB of swap space you can use two Unicorn workers, this will allow HTTP access but it will still be slow. - 1GB RAM + 1GB swap supports up to 100 users - **2GB RAM** is the **recommended** memory size and supports up to 500 users - 4GB RAM supports up to 2,000 users @@ -85,7 +90,7 @@ On a very active server (10,000 active users) the Sidekiq process can use 1GB+ o ## Supported web browsers - Chrome (Latest stable version) -- Firefox (Latest released version and [latest ESR version](https://www.mozilla.org/en-US/firefox/organizations/)) +- Firefox (Latest released version and [latest ESR version](https://www.mozilla.org/en-US/firefox/organizations/)) - Safari 7+ (known problem: required fields in html5 do not work) - Opera (Latest released version) - IE 10+ From 79912d6870ec019fa0100c1ced1c5a2c1f9c3227 Mon Sep 17 00:00:00 2001 From: Marin Jankovski Date: Tue, 2 Dec 2014 14:46:16 +0100 Subject: [PATCH 2/2] System with 512MB of RAM can be used but swap size must be increased. --- doc/install/requirements.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/install/requirements.md b/doc/install/requirements.md index ed19425314..2b60c3560a 100644 --- a/doc/install/requirements.md +++ b/doc/install/requirements.md @@ -51,10 +51,11 @@ We love [JRuby](http://jruby.org/) and [Rubinius](http://rubini.us/) but GitLab ### Memory - 512MB is the absolute minimum but we do not recommend this amount of memory. -You will either need to configure 512MB or 1.5GB of swap space. -With 512MB of swap space you must configure only one unicorn worker. +You will need to configure minimum 1.5GB of swap space. +With 1.5GB of swap space you must configure only one unicorn worker. With one unicorn worker only git over ssh access will work because the git over HTTP access requires two running workers (one worker to receive the user request and one worker for the authorization check). If you use SSD storage and configure 1.5GB of swap space you can use two Unicorn workers, this will allow HTTP access but it will still be slow. +Consider installing GitLab on Ubuntu as installation on CentOS could be unsuccessful with this amount of memory. - 1GB RAM + 1GB swap supports up to 100 users - **2GB RAM** is the **recommended** memory size and supports up to 500 users - 4GB RAM supports up to 2,000 users