V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
d0m2o08
V2EX  ›  NGINX

求问 nginx 提示 worker_connection are not enough

  •  
  •   d0m2o08 · 123 天前 · 1037 次点击
    这是一个创建于 123 天前的主题,其中的信息可能已经有所发展或是发生改变。
    求问各位大佬😁

    当 nginx 的 error.log 提示 `warn worker_connections are not enough, reusing connections`的时候,
    请问此时 nginx 开始丢弃请求了么?

    还有一个疑问,我的测试环境设置 worker_processes 为 2 ,设置 worker_connections 为 100 ,根据网上的资料 nginx 可以同时处理的连接数是 2 * 100 = 200

    但实际我用 jmeter 压测的过程中 active connections 的值在 100 多的时候 nginx 就会输出 `worker_connections are not enough, reusing connections`

    请问 active connections 是否包括 nginx 与 upstream 的连接?
    1 条回复    2024-01-01 21:05:36 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2814 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:11 · PVG 20:11 · LAX 05:11 · JFK 08:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.