* Update to use 512 children in vagrant * Add fastcgi keepalive timeout to 65s Change acces and error log
@@ -1,6 +1,8 @@
server-name: "h2o"
user: www-data
max-connections: 65536
+access-log: /dev/null
+error-log: /dev/stderr
listen:
port: 8080
@@ -13,6 +15,7 @@ hosts:
file.custom-handler: # handle PHP scripts
extension: .php
+ fastcgi.timeout.keepalive: 3900
fastcgi.connect:
port: /var/run/php/php7.3-fpm.sock
type: unix
@@ -14,7 +14,7 @@ RUN apt-get update -yqq > /dev/null && \
COPY deploy/conf/* /etc/php/7.3/fpm/
-RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 2048|pm.max_children = 512|g" /etc/php/7.3/fpm/php-fpm.conf ; fi;
+RUN if [ $(nproc) = 2 ]; then sed -i "s|pm.max_children = 1024|pm.max_children = 512|g" /etc/php/7.3/fpm/php-fpm.conf ; fi;
### Install h2o