Nginx Unix:/run/php/php7.0-fpm.sock失败

时间:2018-07-30 10:16:10

标签: javascript amazon-web-services magento nginx amazon-ec2

我有一个magento 2.2.5应用程序,它在两个c5.xlarge实例上运行,当一切正常时,直到繁重的流量负载冲击了我的商店。我尝试通过将500个客户端放置一分钟来复制该问题,我开始收到该问题

  

2018/07/30 09:44:05 [错误] 25#25:* 1954 connect()到   Unix:/run/php/php7.0-fpm.sock失败(11:资源临时   无法连接),同时连接到上游客户端:10.192.10.204,   服务器:“我的服务器名称”在这里,请求:“获取/ products / a-foundations   HTTP / 1.1”,上游:“ fastcgi:// unix:/run/php/php7.0-fpm.sock:”,主机:   “我的主机网址在这里”

我研究了负载,RAM和CPU的不同指标,在测试期间,负载0.6,RAM 25%和CPU 22%时它们没有出现正常的峰值。我无法理解我的Nginx配置出了什么问题。

我正在使用此示例nginx conf:https://github.com/emizentech/magento2/blob/master/nginx.conf.sample

0 个答案:

没有答案