Browse Source

php-ngx 3x workers (#5496)

Joan Miquel 5 years ago
parent
commit
980db484ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      frameworks/PHP/php-ngx/php-ngx.dockerfile

+ 1 - 1
frameworks/PHP/php-ngx/php-ngx.dockerfile

@@ -26,6 +26,6 @@ RUN wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
             --add-module=/ngx_php7 > /dev/null && \
             --add-module=/ngx_php7 > /dev/null && \
     make > /dev/null && make install > /dev/null
     make > /dev/null && make install > /dev/null
 
 
-CMD export WORKERS=$(( 2 * $(nproc) )) && \
+CMD export WORKERS=$(( 3 * $(nproc) )) && \
     sed -i "s/worker_processes  auto/worker_processes $WORKERS/g" /deploy/nginx.conf && \
     sed -i "s/worker_processes  auto/worker_processes $WORKERS/g" /deploy/nginx.conf && \
     /nginx/sbin/nginx -c /deploy/nginx.conf 
     /nginx/sbin/nginx -c /deploy/nginx.conf