安装nodejs时无法分配内存

时间:2017-03-14 06:33:52

标签: php node.js centos7

我试图在centos 7上安装nodejs。但是,它有如下错误信息:

   Error downloading packages:
 libicu-50.1.2-15.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
 1:libuv-1.10.2-1.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
1:npm-3.10.10-1.6.9.4.2.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
 1:nodejs-6.9.4-2.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory

请帮忙解决一下?感谢

========================= 谢谢你的答案。我发现php-fpm正在吃掉你从前端打不到任何网页的ram。请帮忙解决问题。感谢。

   12.9648 MB              php-fpm:
   13.5508 MB              /usr/local/sa/agent/plugins/sap1005
   18.1406 MB              /usr/local/sa/agent/secu-tcs-agent
   43.3594 MB              php-fpm:
   45.3281 MB              php-fpm:
   45.3281 MB              php-fpm:
   45.332 MB               php-fpm:
   45.3398 MB              php-fpm:
   45.3477 MB              php-fpm:
   45.6992 MB              php-fpm:
   45.7031 MB              php-fpm:

0 个答案:

没有答案