File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,10 +46,10 @@ RUN apk add --no-cache --update \
4646 && sed -i 's|user =|;user =|' /usr/local/etc/php-fpm.d/www.conf \
4747 && sed -i 's|group =|;group =|' /usr/local/etc/php-fpm.d/www.conf \
4848 # Tune PHP-FPM for more throughput
49- && sed -i 's|pm.start_servers = 2|pm.start_servers = 10 |' /usr/local/etc/php-fpm.d/www.conf \
50- && sed -i 's|pm.min_spare_servers = 1|pm.min_spare_servers = 5 |' /usr/local/etc/php-fpm.d/www.conf \
51- && sed -i 's|pm.max_spare_servers = 3|pm.max_spare_servers = 15 |' /usr/local/etc/php-fpm.d/www.conf \
52- && sed -i 's|pm.max_children = 5|pm.max_children = 50 |' /usr/local/etc/php-fpm.d/www.conf \
49+ && sed -i 's|pm.start_servers = 2|pm.start_servers = 4 |' /usr/local/etc/php-fpm.d/www.conf \
50+ && sed -i 's|pm.min_spare_servers = 1|pm.min_spare_servers = 2 |' /usr/local/etc/php-fpm.d/www.conf \
51+ && sed -i 's|pm.max_spare_servers = 3|pm.max_spare_servers = 8 |' /usr/local/etc/php-fpm.d/www.conf \
52+ && sed -i 's|pm.max_children = 5|pm.max_children = 16 |' /usr/local/etc/php-fpm.d/www.conf \
5353 && sed -i 's|;pm.max_requests = 500|pm.max_requests = 500|' /usr/local/etc/php-fpm.d/www.conf \
5454 # Enable Nginx stdout/stderr logging, disable php-fpm access logs
5555 && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log \
You can’t perform that action at this time.
0 commit comments