nginx学习随笔--worker_rlimit_nofile
2017-09-11 13:58
441 查看
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工作进程相除。
相关文章推荐
- nginx学习随笔--worker_rlimit_core
- nginx最大并发连接数的思考:worker_processes、worker_connections、worker_rlimit_nofile
- nginx最大并发连接数的思考:worker_processes、worker_connections、worker_rlimit_nofile
- nginx学习随笔--worker_processes
- nginx 源码学习笔记(十六)—— ngx_start_worker_processes子进程创建
- nginx学习随笔--proxy_temp_path
- Nginx学习(16)—worker进程循环工作
- Nginx学习——进程模型(worker进程)
- nginx学习随笔--tcp_nodelay
- Nginx学习笔记(十六):worker进程的循环工作
- nginx源码学习(四)worker进程的启动
- nginx学习随笔--events
- nginx学习随笔--multi_accept
- nginx 源码学习 ngx_worker_process_cycle子进程执行
- nginx 源码学习笔记(十七)—— ngx_worker_process_cycle子进程执行
- nginx学习9——修改worker的进程名,修改master的名称,cpu策略,最大并发策略
- nginx学习随笔--pid
- nginx学习随笔--use
- nginx学习随笔--tcp-nopush
- nginx学习随笔--keepalive_timeout