From: Jeff Atwood Date: Fri, 13 Nov 2015 06:41:36 +0000 (-0800) Subject: add better unicorn number advice X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7799fb73df0e50ae52fea7a4099e1fa6946fddf6;p=discourse_docker.git add better unicorn number advice --- diff --git a/samples/standalone.yml b/samples/standalone.yml index 568a698..8bfdd20 100644 --- a/samples/standalone.yml +++ b/samples/standalone.yml @@ -50,6 +50,7 @@ env: ## TODO: How many concurrent web requests are supported? ## With 2GB we recommend 3-4 workers, with 1GB only 2 + ## If you have lots of memory, use one or two workers per logical CPU core #UNICORN_WORKERS: 3 ## TODO: List of comma delimited emails that will be made admin and developer diff --git a/samples/web_only.yml b/samples/web_only.yml index 317370b..b80ea52 100644 --- a/samples/web_only.yml +++ b/samples/web_only.yml @@ -21,6 +21,7 @@ env: LANG: en_US.UTF-8 ## TODO: How many concurrent web requests are supported? ## With 2GB we recommend 3-4 workers, with 1GB only 2 + ## If you have lots of memory, use one or two workers per logical CPU core #UNICORN_WORKERS: 3 ## TODO: configure connectivity to the databases