Amazon EC2微型实例无响应 [英] Amazon EC2 micro instance not responding

查看:123
本文介绍了Amazon EC2微型实例无响应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有几个微实例可以正常工作数周。两者都在运行WordPress博客。在过去的24小时内,其中一个已经停止。即使重启,我也无法进入。另一个实例工作正常。

I have a couple of micro instances that have been working fine for weeks. Both are running WordPress blogs. In the last 24 hours one of them has stopped. I can't ssh in even after a reboot. The other instance is working fine.

ssh: connect to host ec2-xxx-xxx-xxx-xxx.ap-southeast-1.compute.amazonaws.com port 22: Operation timed out

日志中似乎没有什么明显的问题。最后几行是:

There in nothing obvious in the log that looks like a problem. The last few lines are:

cloud-init:  runcmd[  OK  ]
Mounting other filesystems:  [  OK  ]
Retrigger failed udev events[  OK  ]
Generating SSH1 RSA host key: [  OK  ]
Starting sshd: [  OK  ]
Starting ntpd: [  OK  ]
Starting sendmail: [  OK  ]
Starting sm-client: [  OK  ]
Starting crond: [  OK  ]
[  OK  ]
Starting atd: [  OK  ]
Starting yum-updatesd: [  OK  ]
Running cloud-init user-scripts (none found)[  OK  ]
Amazon Linux AMI release 2011.02.1.1 (beta)
Kernel 2.6.35.11-83.9.amzn1.i686 on an i686
ip-xx-xxx-xx-xx login:

管理控制台表示一切都正常运行。

我对两个实例使用相同的安全组和.pem文件。

The management console states that everything is running and normal.
I use the same security group and .pem file for both instances.

我怀疑此实例获得的流量比其他实例更多。无论如何,微实例可能会耗尽内存并停止响应?可能是怎么了?

I suspect that this instance has been getting more traffic than the other one. Is there anyway that the micro instance could run out of memory and just stop responding? What could be going wrong?

此处是监控的屏幕截图面板

谢谢

推荐答案

有几种可能性,但最有可能的两个是:

There are several possibilities, but the two most likely are:


  1. 正在运行您的Micro实例的主机上的高负载-Micro实例获得一个无论如何,这只是一小部分资源,并且在主机负载下会大幅缩减资源。

  1. High load on the host that your Micro instance is running on - Micro instances get a small slice of resources anyway, and get scaled back quite harshly when the host is under load.

主机上发生了故障,这会影响VM的响应能力-

A fault has occurred on the host which is impacting VM responsiveness - this is actually relatively common, and can exhibit the type of behaviour you're seeing.

无论哪种情况,最快的解决方案是核对实例并重新启动它-您可能会在不同的主机上获得一个新的实例,该实例可能压力较小或损坏较少。 ;)

In either case, the quickest solution is to nuke the instance and restart it - you'll likely get a new instance on a different host, which may be less stressed or less broken. ;)

这篇关于Amazon EC2微型实例无响应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆