* php nginx use multi_accept off and pcre_jit on * php-ngx use multi_accept off * Use multi_accept off in nginx conf
@@ -5,7 +5,7 @@ worker_rlimit_nofile 200000;
events {
worker_connections 16384;
- multi_accept on;
+ multi_accept off;
}
@@ -2,10 +2,11 @@ user www-data;
worker_processes auto;
error_log stderr error;
worker_rlimit_nofile 200000;
+pcre_jit on;
@@ -6,7 +6,7 @@ daemon off;
http {
@@ -17,7 +17,7 @@ http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
- keepalive_timeout 65;
+ keepalive_timeout 65s;
open_file_cache max=2000 inactive=20s;
open_file_cache_valid 60s;