小编Muh*_*min的帖子

CentOS 7 无法在“yum install”操作期间分配内存

尝试yum install php56w-mcrypt和系统给了我这个错误

libmcrypt-2.5.8-13.el7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
php56w-mcrypt-5.6.5-1.w7.x86_64: [Errno 5] [Errno 12] Cannot allocate memory
Run Code Online (Sandbox Code Playgroud)

我检查了 free -m

             total       used       free     shared    buffers     cached
Mem:           490        421         68          8          3         42
-/+ buffers/cache:        376        113
Swap:            0          0          0
Run Code Online (Sandbox Code Playgroud)

top

  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
 9756 mysql     20   0  727588  81556      0 S  0.3 16.2   1:04.61 mysqld
11089 root      20   0       0      0      0 S  0.3  0.0 …
Run Code Online (Sandbox Code Playgroud)

yum centos-7

11
推荐指数
2
解决办法
2万
查看次数

标签 统计

centos-7 ×1

yum ×1