* Use multi_accept off in nginx So scale better nginx * Update fat-free to v3.6.5 Solve problems with php7.3 * Update keepalive Part of a global change, that I said when using multiaccept off
@@ -3,7 +3,7 @@ worker_processes auto;
events {
worker_connections 16384;
- multi_accept on;
+ multi_accept off;
}
@@ -5,7 +5,7 @@ worker_rlimit_nofile 200000;
@@ -39,7 +39,7 @@ http {
upstream fastcgi_backend {
server unix:/var/run/php/php7.3-fpm.sock;
- keepalive 50;
+ keepalive 40;
server {
@@ -14,7 +14,7 @@ WORKDIR /fat-free
ENV F3DIR="/fat-free/src"
-RUN git clone -b 3.6.4 --single-branch --depth 1 "https://github.com/bcosca/fatfree-core.git" src
+RUN git clone -b 3.6.5 --single-branch --depth 1 "https://github.com/bcosca/fatfree-core.git" src
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;
worker_connections 32768;
http {