From ecd946be4ce3efffa88c60f2e36a72394561b187 Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Thu, 21 Aug 2014 16:58:06 +0200 Subject: [PATCH] Swap is required on servers with 1GB RAM --- doc/install/requirements.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/install/requirements.md b/doc/install/requirements.md index 938e48ddd74..53f6ccc8c34 100644 --- a/doc/install/requirements.md +++ b/doc/install/requirements.md @@ -55,13 +55,13 @@ 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 supports up to 100 users (we highly recommend adding al least 1GB of swap space, this is a must if you have individual repositories under 250MB) -- **2GB** is the **recommended** memory size and supports up to 500 users -- 4GB supports up to 2,000 users -- 8GB supports up to 5,000 users -- 16GB supports up to 10,000 users -- 32GB supports up to 20,000 users -- 64GB supports up to 40,000 users +- 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 +- 8GB RAM supports up to 5,000 users +- 16GB RAM supports up to 10,000 users +- 32GB RAM supports up to 20,000 users +- 64GB RAM supports up to 40,000 users Notice: The 25 workers of Sidekiq will show up as separate processes in your process overview (such as top or htop) but they share the same RAM allocation since Sidekiq is a multithreaded application.