nginx学习随笔--worker_rlimit_nofile
nginx学习随笔–worker_rlimit_nofile
- 英文原文:
Syntax: worker_rlimit_nofile number;
Default: —
Context: main
Changes the limit on the maximum number of open files (RLIMIT_NOFILE) for worker processes. Used to increase the limit without restarting the main process.
中文翻译:
为nginx工作进程改变打开最多文件描述符数目的限制。用来在不重启主进程的情况下增加限制。
例如:
worker_rlimit_nofile 204800;
理论上这个值是最多打开文件数(ulimit -n)与nginx工作进程相除。
声明:该文观点仅代表作者本人,入门客AI创业平台信息发布平台仅提供信息存储空间服务,如有疑问请联系rumenke@qq.com。
- 上一篇:没有了
- 下一篇:没有了
