【发布时间】:2021-02-24 09:49:40
【问题描述】:
我正在尝试在我的 Beanstalk nodejs 服务器上增加我的 nginx 的可能 worker_connections 数量。
我按照文档在项目根目录下的.ebextensions 文件夹中创建了一个proxy.config 文件。
files:
/etc/nginx/conf.d/proxy.conf:
mode: "000644"
owner: root
group: root
content: |
worker_rlimit_nofile 65536;
events {
worker_connections 50000;
}
我重新部署了我的项目,但仍然出现此错误
[alert] 19144#0: 1024 worker_connections are not enough.
编辑: 我正在查看 Amazon Linux 1 的文档,所以这是我的新问题:Increasing worker_connections of nginx on Beanstalk nodejs environment
【问题讨论】:
-
您使用的是什么 EB 平台?基于 Amazon Linux 1 还是 2?
-
@Marcin Node.js 12 在 64 位 Amazon Linux 2 上运行
标签: amazon-web-services amazon-elastic-beanstalk