Skip to content
Snippets Groups Projects
Commit 9269606c authored by Sid Sijbrandij's avatar Sid Sijbrandij
Browse files

Documentation about unicorn settings.

parent cba6d797
No related branches found
No related tags found
No related merge requests found
Loading
@@ -76,7 +76,8 @@ Notice: The 25 workers of Sidekiq will show up as separate processes in your pro
Loading
@@ -76,7 +76,8 @@ Notice: The 25 workers of Sidekiq will show up as separate processes in your pro
   
## Unicorn Workers ## Unicorn Workers
   
It's possible to increase the amount of unicorn workers and tis will usually help for to reduce the response time of the applications. It's possible to increase the amount of unicorn workers and tis will usually help for to reduce the response time of the applications and increase the ability to handle parallel requests.
For most instances we recommend using: CPU cores + 1 = unicorn workers. For most instances we recommend using: CPU cores + 1 = unicorn workers.
So for a machine with 2 cores, 3 unicorn workers is ideal. So for a machine with 2 cores, 3 unicorn workers is ideal.
   
Loading
@@ -85,6 +86,8 @@ If you have a 512MB machine with a magnetic (non-SSD) swap drive we recommend to
Loading
@@ -85,6 +86,8 @@ If you have a 512MB machine with a magnetic (non-SSD) swap drive we recommend to
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). 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 have a 512MB machine with a SSD drive you can use two Unicorn workers, this will allow HTTP access although it will be slow due to swapping. If you have a 512MB machine with a SSD drive you can use two Unicorn workers, this will allow HTTP access although it will be slow due to swapping.
   
To change the Unicorn workers when you have the Omnibus package please see [the Unicorn settings in the Omnibus GitLab documentation](https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/doc/settings/unicorn.md#unicorn-settings).
## Database ## Database
   
If you want to run the database separately, the **recommended** database size is **1 MB per user**. If you want to run the database separately, the **recommended** database size is **1 MB per user**.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment