From e434bf9fce6b5b4f581e3da6a6252baa66fcc4ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20K=C3=A5berg?= Date: Thu, 4 Sep 2014 16:11:06 +0200 Subject: [PATCH] Support more concurrent connections for z-push My logs were showing lots of: [04-Sep-2014 15:52:41] WARNING: [pool www] server reached pm.max_children setting (5), consider raising it --- setup/zpush.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/setup/zpush.sh b/setup/zpush.sh index 72ba0742..c518de3b 100755 --- a/setup/zpush.sh +++ b/setup/zpush.sh @@ -65,6 +65,10 @@ rm -f /usr/local/lib/z-push/autodiscover/config.php cp conf/zpush/autodiscover_config.php /usr/local/lib/z-push/autodiscover/config.php sed -i "s/PRIMARY_HOSTNAME/$PRIMARY_HOSTNAME/" /usr/local/lib/z-push/autodiscover/config.php +# Bump up max_children to support more concurrent connections +tools/editconf.py /etc/php5/fpm/pool.d/www.conf -c ';' \ + pm.max_children=8 + # Some directories it will use. mkdir -p /var/log/z-push