[blogs-web/fpm] Lower max_children to 4



commit 97bfff04289a5a4c4e77ee4e3c4b89c1556bf3b2
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Wed Dec 16 09:48:50 2020 +0100

    Lower max_children to 4

 Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index db470a9..31f9d0a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -23,7 +23,7 @@ RUN yes no | pecl install redis && \
     docker-php-ext-enable redis
    
 ADD php.ini /usr/local/etc/php/conf.d/wordpress.ini
-RUN sed -i 's/pm.max_children =.*/pm.max_children = 8/' /usr/local/etc/php-fpm.d/www.conf
+RUN sed -i 's/pm.max_children =.*/pm.max_children = 4/' /usr/local/etc/php-fpm.d/www.conf
 
 ADD entrypoint /entrypoint
 ENTRYPOINT ["/entrypoint"]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]