Nginx 日志报错 worker_connections are not enough while connecting to upstream

Nginx 日志报错 worker_connections are not enough while connecting to upstream
Nginx worker_connections配置太低导致500错误
Nginx反向代理一个新项目,访问人数多了就会出现500报错,重启nginx后又恢复正常可以重新打开,经过排查是 worker_connections 配置数目太低,默认为1024不够用
打开nginx.conf文件,找到 worker_connections 将其修改到9216,如下图,重载nginx后恢复正常,再也没有出现过报错
#重载nginx配置
nginx -s reload

>>本文为下一朵云的原创文章,转载请附上原文出处链接及本声明
>>原文链接地址:Nginx 日志报错 worker_connections are not enough while connecting to upstream
>>原文链接地址:Nginx 日志报错 worker_connections are not enough while connecting to upstream
发表评论