From 151c7ab3be91547e6e37ae05db4a234bc2e2d8c2 Mon Sep 17 00:00:00 2001 From: farid Date: Sat, 14 Aug 2021 21:03:34 +0430 Subject: [PATCH] fix: add max children in docker file --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be87a17..bdc306e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN apt install -y sendmail libpng-dev RUN docker-php-ext-install gd RUN printf 'upload_max_filesize=130M;\npost_max_size=130M;\nmax_execution_time=600;\nmax_input_time=600;\n' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini; -RUN printf 'pm.max_children = 50\npm.min_spare_servers = 8\npm.max_spare_servers = 16' >> /usr/local/etc/php-fpm.d/zz-docker.conf +RUN echo 'pm.max_children = 100' >> /usr/local/etc/php-fpm.d/zz-docker.conf COPY database /var/www/database