increase Nginx proxy worker_connections from 512 to 2048

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-01-26 19:11:15 +01:00
parent 3cd1f8fab2
commit 8dc2cebba9
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 5 additions and 0 deletions

View File

@ -34,6 +34,11 @@ referral_srv_app_port: 3000
# add a swap file to avoid memory issues when syncing # add a swap file to avoid memory issues when syncing
swap_file_size_mb: 2048 swap_file_size_mb: 2048
# With large volume of requests more workers are required.
nginx_worker_rlimit_nofile: 4098
nginx_events_params:
- worker_connections 2048
# Proxy for WSGI server assumed to run on port 8000 # Proxy for WSGI server assumed to run on port 8000
nginx_sites: nginx_sites:
referral_service: referral_service: