Amazon elastic beanstalk AWS Elastic Beanstalk通知-环境运行状况已从“正常”转换为“警告”

Amazon elastic beanstalk AWS Elastic Beanstalk通知-环境运行状况已从“正常”转换为“警告”,amazon-elastic-beanstalk,Amazon Elastic Beanstalk,我一直收到以下消息。但是,在我的nginx日志中没有任何内容表明返回的请求状态为5xx。此外,该应用程序似乎工作正常。有人告诉我为什么我会得到这些吗 信息: 环境健康已从“正常”转换为“警告”。50.0%的请求使用HTTP 5xx失败。请求速率(12.0请求/分钟)不足,无法确定应用程序运行状况。2个实例中有1个受到影响。有关详细信息,请参阅实例运行状况 eb日志大约同时显示以下事件。它们看起来像是黑客的企图。我的猜测是,这些POST请求的失败让EB认为实例是不健康的。有什么建议吗,我们如何防止

我一直收到以下消息。但是,在我的
nginx
日志中没有任何内容表明返回的请求状态为
5xx
。此外,该应用程序似乎工作正常。有人告诉我为什么我会得到这些吗

信息:

环境健康已从“正常”转换为“警告”。50.0%的请求使用HTTP 5xx失败。请求速率(12.0请求/分钟)不足,无法确定应用程序运行状况。2个实例中有1个受到影响。有关详细信息,请参阅实例运行状况

eb日志大约同时显示以下事件。它们看起来像是黑客的企图。我的猜测是,这些POST请求的失败让EB认为实例是不健康的。有什么建议吗,我们如何防止这种情况?谢谢

2019/02/10 23:49:37 [error] 3263#0: *23308 upstream prematurely closed connection while reading response header from upstream, client: 172.31.35.221, server: , request: "POST /51314.php HTTP/1.1", upstream: "http://172.17.0.2:80/51314.php", host: "xxx.xxx.xxx.xxx"

2019/02/10 23:49:37 [error] 3263#0: *23308 upstream prematurely closed connection while reading response header from upstream, client: 172.31.35.221, server: , request: "POST /fusheng.php HTTP/1.1", upstream: "http://172.17.0.2:80/fusheng.php", host: "xxx.xxx.xxx.xxx"

2019/02/10 23:49:38 [error] 3263#0: *23308 upstream prematurely closed connection while reading response header from upstream, client: 172.31.35.221, server: , request: "POST /repeat.php HTTP/1.1", upstream: "http://172.17.0.2:80/repeat.php", host: "xxx.xxx.xxx.xxx"

2019/02/10 23:49:39 [error] 3263#0: *23308 upstream prematurely closed connection while reading response header from upstream, client: 172.31.35.221, server: , request: "POST /api.php HTTP/1.1", upstream: "http://172.17.0.2:80/api.php", host: "xxx.xxx.xxx.xxx"

2019/02/10 23:49:40 [error] 3263#0: *23308 upstream prematurely closed connection while reading response header from upstream, client: 172.31.35.221, server: , request: "POST /xiaodai.php HTTP/1.1", upstream: "http://172.17.0.2:80/xiaodai.php", host: "xxx.xxx.xxx.xxx"

2019/02/10 23:49:40 [error] 3263#0: *23308 upstream prematurely closed connection while reading response header from upstream, client: 172.31.35.221, server: , request: "POST /xiaodai.php HTTP/1.1", upstream: "http://172.17.0.2:80/xiaodai.php", host: "xxx.xxx.xxx.xxx"


谢谢。

示例原因可以是

  • nginx proxy在实例上崩溃
  • 实例上的高CPU使用率
  • 实例上的高内存使用率
  • 实例上的部署失败

对不起。可能应该在原始帖子中提到。这些都不是原因。我查过了。谢谢