multi_accept

This commit is contained in:
Zsolt Ero
2025-08-10 01:48:14 +02:00
parent 1a700fd5df
commit 8abdc7d8a4
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ error_log /data/nginx/logs/nginx-error.log warn;
events {
worker_connections 40000;
multi_accept on;
multi_accept off; # very important, otherwise one worker might get all the connections
}
http {

View File

@@ -11,7 +11,7 @@ error_log /data/nginx/logs/nginx-error.log warn;
events {
worker_connections 40000;
multi_accept on;
multi_accept off; # very important, otherwise one worker might get all the connections
}
http {