Fix MaxWorkerOpenFiles calculation on high cores nodes (#7107)
* Fix MaxWorkerOpenFiles calculation on high cores nodes * Add e2e test for rlimit_nofile * Fix doc for max-worker-open-files
This commit is contained in:
parent
8328b532f7
commit
4bdb5538a4
3 changed files with 60 additions and 7 deletions
|
|
@ -454,7 +454,7 @@ _**default:**_ 16384
|
|||
## max-worker-open-files
|
||||
|
||||
Sets the [maximum number of files](http://nginx.org/en/docs/ngx_core_module.html#worker_rlimit_nofile) that can be opened by each worker process.
|
||||
The default of 0 means "max open files (system's limit) / [worker-processes](#worker-processes) - 1024".
|
||||
The default of 0 means "max open files (system's limit) - 1024".
|
||||
_**default:**_ 0
|
||||
|
||||
## map-hash-bucket-size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue