Amazon Linux上的Amazon EC2上的Node.js非常慢

时间:2011-11-06 14:00:22

标签: node.js amazon-ec2

我是亚马逊EC2和Node.js新手,所以我可能会在脑海中,但我喜欢边做边学。我有它的工作,但问题是实例非常慢,我可以启动Node一次或两次,但之后我得到这个错误:

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.697768] ------------[ cut here ]------------

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.697946] invalid opcode: 0000 [#8] SMP 

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.697956] last sysfs file: /sys/devices/system/cpu/cpu0/cache/index2/shared_cpu_map

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.698006] Process node (pid: 27776, ti=d481a000 task=e604be80 task.ti=d481a000)

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.698006] Stack:

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.698006] Call Trace:

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.698006] Code: 8d 74 26 00 8b 06 c7 46 08 00 00 00 00 e8 d2 52 f7 ff 8b 56 04 83 fa ff 74 a3 8d 46 10 e8 b2 78 00 00 c7 46 04 00 00 00 00 eb 92 <0f> 0b eb fe 90 8d 74 26 00 55 89 e5 83 ec 10 89 7d fc 89 c7 a1 

Message from syslogd@ip-10-56-53-235 at Nov  6 13:41:31 ...
kernel:[171753.698006] EIP: [<c10b9387>] exit_mmap+0x137/0x140 SS:ESP 0069:d481adbc

我正在开发一款免费的微型亚马逊Linux服务器。我使用Yum安装了g ++,make和openssl,以便能够从通过Git下载的源代码编译Node.js.正如我所说,这很好,我可以从公共DNS看到“你好世界”。

有什么想法吗?真的很感激!

2 个答案:

答案 0 :(得分:1)

遇到同样的问题并找到了这个帖子:

https://github.com/joyent/node/issues/2271

按照此处“已知问题”部分中的说明操作后:

https://aws.amazon.com/amazon-linux-ami/latest-release-notes/

我在微型实例上运行v0.6.6而没有问题。

答案 1 :(得分:0)

安装v0.4.12,它在AWS EC2上运行良好