简体   繁体   English

为什么流星1.0.0无法运行应用程序,但崩溃时却产生了enomem?

[英]Why won't meteor 1.0.0 run app but crashes spawn enomem?

Made complete clean install of Centos OpenVZ server running 7 minimal 64bit, 2 'slices' of VPS with 2Gb ram, 2 cpus, 2gb swap etc, 彻底干净安装Centos OpenVZ服务器,该服务器运行7个最小的64位,2个“切片”的VPS和2Gb ram,2 cpus,2gb交换等,

Installed virtualmin/webmin that is all, only configuration undertaken in iptables firewall, 仅安装了virtualmin / webmin,仅在iptables防火墙中进行了配置,

No other apps or software installed, only yum update ran, 没有安装其他应用或软件,仅运行yum更新,

Then downloaded meteor using curl link, 然后使用curl链接下载流星,

followed instructions to letter and in /root/ ran meteor create command, 按照说明进行操作,并在/ root /中运行了meteor create命令,

this created myapp then cd myapp into /myapp directory, ran meteor, 这样创建了myapp,然后将myapp cd放入/ myapp目录,运行了流星,

repeatedly crashes with this error message, Why?? 反复崩溃,并显示此错误消息,为什么?

Have searched web for answers and no one seems to know, this is a recurrent problem with meteor since 2013 and even before if you research web so why hasn't it been fixed? 在网上搜寻答案后,似乎没人知道,这是自2013年以来流星反复出现的问题,甚至在您研究网上之前,为什么还没有解决? And why is it so difficult to get the software to run 'out of the box' its whole premise is its user friendliness and ability to save time, I would love to be able to use it and have signed up to some basic training so really need to get this working! 为什么很难让软件“开箱即用”运行,其全部前提是其用户友好性和节省时间的能力,所以我很想能够使用它并签署了一些基础培训,需要使这个工作! It should not be this difficult! 应该不难! Especially when just running the tutorial app... 特别是在仅运行教程应用程序时...

Thanks for any help and advice you can give, 感谢您提供的任何帮助和建议,

[root@server myapp]# ls
myapp.css  myapp.html  myapp.js
[root@server myapp]# meteor
[[[[[ ~/myapp ]]]]]

=> Started proxy.
=> Started MongoDB.

/root/.meteor/packages/meteor-tool/.1.1.10.ki0ccv++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/fibers/future.js:245
                                            throw(ex);
                                                  ^
Error: spawn ENOMEM
     at errnoException (child_process.js:1011:11)
     at ChildProcess.spawn (child_process.js:958:11)
     at Object.exports.spawn (child_process.js:746:9)
     at [object Object]._.extend._spawn (/tools/runners/run-app.js:255:31)
     at [object Object]._.extend.start (/tools/runners/run-app.js:85:22)
     at [object Object]._.extend._runOnce (/tools/runners/run-app.js:716:16)
     at [object Object]._.extend._fiber (/tools/runners/run-app.js:858:28)
     at /tools/runners/run-app.js:396:12
[root@server myapp]#

top image not using any ram or resources 顶部图片未使用任何内存或资源

Stack Enomem is due to interaction between node.js and OpenVZ, I would highly recommend using KVM instead with CENTOS7 upgraded (at cost of only 2 dollars) and this memory problem went away, Stack Enomem是由于node.js与OpenVZ之间的交互作用,我强烈建议您使用KVM而不是升级CENTOS7(成本仅为2美元),并且此内存问题已消除,

For rest of problems with accessing web dev server see advice given to me on meteor forum, 有关访问Web开发服务器的其他问题,请参阅流星论坛上给我的建议,

https://forums.meteor.com/t/first-attempt-at-tutorial-app-crashes-on-execution/13920?u=tombranley https://forums.meteor.com/t/first-attempt-at-tutorial-app-crashes-on-execution/13920?u=tombranley

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM