From 6b13ac1ca98809557747f7d179e30c930f89d022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20K=C3=A5berg?= Date: Thu, 4 Sep 2014 16:40:33 +0200 Subject: [PATCH] Support more concurrent connections --- setup/web.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/web.sh b/setup/web.sh index be89711b..b08ed4f5 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -18,6 +18,10 @@ cp conf/nginx-ssl.conf /etc/nginx/nginx-ssl.conf tools/editconf.py /etc/nginx/nginx.conf -s \ server_names_hash_bucket_size="64;" +# Bump up max_children to support more concurrent connections +tools/editconf.py /etc/php5/fpm/pool.d/www.conf -c ';' \ + pm.max_children=8 + # Other nginx settings will be configured by the management service # since it depends on what domains we're serving, which we don't know # until mail accounts have been created.