Reputation: 5833
worker_rlimit_nofile's description is as follows:
Specifies the value for maximum file descriptors that can be opened by this process.
'this process' means the whole process or each worker process?
It's quite confusing to me.
Reference: http://wiki.nginx.org/CoreModule
Upvotes: 1
Views: 3287
Reputation: 342
The directive worker_rlimit_nofile
is set for each worker process separately.
Full Example Configuration from nginx.com:
...
worker_processes 5;
worker_rlimit_nofile 8192;
events {
worker_connections 4096;
}
...
Upvotes: 1