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

NameTypeDescription
limitintegerSet the worker open-file resource limit; actual application depends on OS limits and privileges.

Working Example

Example Snippetnginx
worker_rlimit_nofile 512;
Nginx Reference