在亚马逊的Linux在Amazon EC2 Node.js的速度很慢 [英] Node.js on Amazon EC2 on Amazon Linux very slow

查看:141
本文介绍了在亚马逊的Linux在Amazon EC2 Node.js的速度很慢的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是亚马逊的EC2和Node.js的newbe所以我可能是在我的头上,但我喜欢边做边学。我懂了工作,但问题是实例是很慢的,我可以启动节点一次或两次,但在那之后我得到这个错误:

I'm an Amazon EC2 and Node.js newbe so I might be in over my head, but I like learning by doing. I've got it working, but the problem is the instance is very slow and I can start Node once or twice, but after that I get this error:

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服务器上。我安装了G ++,制造和以使用百胜的OpenSSL,以便能够从源代码通过Git的下载编译Node.js的。正如我所说的,这工作得很好,我可以看到Hello World的公共DNS。

I'm working on a free micro Amazon Linux server. I installed g++, make and openssl using Yum in order to be able to compile Node.js from source downloaded via Git. As I said, this works fine, I can see "hello world" from the public DNS.

任何想法?真的AP preciated!

Any ideas? Really appreciated!

推荐答案

遇到同样的问题,发现这个线程:

Ran into the same problem and found this thread:

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

下面的已知问题一节中的说明这里后:

After following the instructions in the "Known Issues" section here:

https://aws.amazon.com/amazon-linux -ami /最新发布音符/

我跑v0.6.6在一个微观的实例没有问题。

I'm running v0.6.6 on a micro instance without issues.

这篇关于在亚马逊的Linux在Amazon EC2 Node.js的速度很慢的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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