nginx: [warn] 1024 worker_connections exceed open file resource limit: 256
来源:互联网 发布:java监控服务状态 编辑:程序博客网 时间:2024/05/23 00:05
Unix版本:MacBook Air。
worker_connections: 单个后台worker process进程的最大并发链接数worker_connections;
open file resource limit: linux中process可以打开的文件句柄数量;
nginx config:
...worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/log/nginx/nginx.pid;
events {
worker_connections 1024;
}
...
控制台执行:ulimit -a,显示如下,将红色字的变量改为1024即可,使用命令ulimit -n 1024。
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 709
virtual memory (kbytes, -v) unlimited
阅读全文
0 0
- nginx: [warn] 1024 worker_connections exceed open file resource limit: 256
- nginx: [warn] 4000 worker_connections exceed open file resource limit: 1024
- 关于open file limit问题解决
- ceel num Exceed Limit
- Memory Limit Exceed C
- Memory Limit Exceed B
- nginx之worker_connections
- output limit exceed 常见错误
- nginx 优化系列之worker_connections
- Nginx中worker_connections的问题
- nginx 优化系列之worker_connections
- nginx 优化系列之worker_connections
- Nginx中worker_connections的问题
- Nginx中worker_connections的问题
- 【nginx】优化系列之worker_connections
- POJ 1012 Timing Limit Exceed问题
- fatal error RC1015: cannot open include file 'resource.h'.
- npm WARN enoent ENOENT: no such file or directory, open 'C:\Program Files\nodejs \package.json'
- 线程的同步与互斥
- Valid Perfect Square
- 正则表达式 boost Regex
- JDIC插件的使用
- 如何上传未关联Git仓库的项目(1)-通过Eclipse上传
- nginx: [warn] 1024 worker_connections exceed open file resource limit: 256
- 【第八篇】SAP HANA XS使用Data Services查询CDS实体【二】
- CentOS 6.3 Rsync服务端与Debian 6.0.5 Rsync客户端实现数据同步
- LeetCode 64. Minimum Path Sum
- 双击 bat 直接运行 cmd 内容: 例打开 ipynb 文件
- android自动完成文本框
- Lua 双向队列的实现
- 深度学习八大开源框架
- Debian 6.0.5解决系统时间与北京时间相差8小时问题