Core directives
worker_rlimit_nofile (Core directives)
Requests a worker file-descriptor resource limit in main context; permissions and inherited limits matter.
Formal Syntax & Structure
nginx syntaxnginx
worker_rlimit_nofile number;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| limit | integer | Set the worker open-file resource limit; actual application depends on OS limits and privileges. |
Working Example
Example Snippetnginx
worker_rlimit_nofile 512;