Last active
May 31, 2019 23:55
-
-
Save kumaraswins/d7b5554c7079113f08e0fdf38401e055 to your computer and use it in GitHub Desktop.
Nginx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| worker_processes | |
| A worker process is a single-threaded process. | |
| If Nginx is doing CPU-intensive work such as SSL or gzipping and you have 2 or more CPUs/cores, | |
| then you may set worker_processes to be equal to the number of CPUs or cores. | |
| If you are serving a lot of static files and the total size of the files is bigger than the available memory, | |
| then you may increase worker_processes to fully utilize disk bandwidth. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment