Doing some tuning, and want to make sure I understand what the effects
are of various parameters. As I understand, this is how many open files
the os (linux) as a whole is currently set to handle.
Then, there is a limit I am setting in the init script for nginx. Let’s
say this number is 20480.
ulimit -n 20480
Then, in the nginx config, we can set the number of workers and open
files for each worker process. For example:
My question is, does the 20480 limit set in the init script affect:
- the TOTAL number of files that can be open by ALL workers
- the number of files that can be open by EACH worker
- something else I don’t understand.