From 7799fb73df0e50ae52fea7a4099e1fa6946fddf6 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Thu, 12 Nov 2015 22:41:36 -0800 Subject: [PATCH] add better unicorn number advice --- samples/standalone.yml | 1 + samples/web_only.yml | 1 + 2 files changed, 2 insertions(+) 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 -- 2.25.1