|
@@ -1,12 +1,12 @@
|
|
|
worker_cpu_affinity auto;
|
|
|
pid /tmp/nginx.pid;
|
|
|
error_log stderr error;
|
|
|
-worker_rlimit_nofile 1024000;
|
|
|
+worker_rlimit_nofile 102400;
|
|
|
timer_resolution 1000ms;
|
|
|
daemon off;
|
|
|
|
|
|
events {
|
|
|
- worker_connections 1000000;
|
|
|
+ worker_connections 100000;
|
|
|
}
|
|
|
|
|
|
http {
|
|
@@ -19,7 +19,7 @@ http {
|
|
|
tcp_nodelay on; #default
|
|
|
keepalive_timeout 65;
|
|
|
keepalive_disable none;
|
|
|
- keepalive_requests 1000000;
|
|
|
+ keepalive_requests 100000;
|
|
|
lua_package_path '/openresty/?.lua;;';
|
|
|
init_by_lua_block {
|
|
|
jit.opt.start("minstitch=10")
|