Increase worker counts, to accomodate assholes on the Internet
This commit is contained in:
parent
c57ae4b037
commit
c60fc4215a
1 changed files with 2 additions and 2 deletions
|
|
@ -10,12 +10,12 @@ load_module "/usr/local/libexec/nginx/ngx_http_lua_module.so";
|
|||
load_module "/usr/local/libexec/nginx/ngx_stream_lua_module.so";
|
||||
|
||||
# Adjust if you have thousands of nodes...
|
||||
worker_processes 1;
|
||||
worker_processes 2;
|
||||
events {
|
||||
# Ditto; threads per worker, really don't need much. For reference,
|
||||
# several (tens of) thousands is common for a busy webserver; clearly
|
||||
# not our case here.
|
||||
worker_connections 8;
|
||||
worker_connections 32;
|
||||
}
|
||||
|
||||
# We use the 'stream' service, which is essentially just a TCP proxy with
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue