嘟嘟社区

服务器一直这样子,快把我折磨疯了


Loaded plugins: fastestmirror
Existing lock /var/run/yum.pid: another copy is running as pid 864.
Another app is currently holding the yum lock; waiting for it to exit…
  The other application is: yum
    Memory :  24 M RSS (417 MB VSZ)
    Started: Fri Jan  7 14:23:01 2022 – 01:00 ago
    State  : Sleeping, pid: 864
Another app is currently holding the yum lock; waiting for it to exit…
  The other application is: yum
    Memory :  24 M RSS (417 MB VSZ)
    Started: Fri Jan  7 14:23:01 2022 – 01:02 ago
    State  : Sleeping, pid: 864
Another app is currently holding the yum lock; waiting for it to exit…
  The other application is: yum
    Memory :  24 M RSS (417 MB VSZ)
    Started: Fri Jan  7 14:23:01 2022 – 01:04 ago
    State  : Sleeping, pid: 864
Another app is currently holding the yum lock; waiting for it to exit…
  The other application is: yum
    Memory :  24 M RSS (417 MB VSZ)
    Started: Fri Jan  7 14:23:01 2022 – 01:06 ago
    State  : Sleeping, pid: 864
Another app is currently holding the yum lock; waiting for it to exit…
  The other application is: yum
    Memory :  24 M RSS (417 MB VSZ)
    Started: Fri Jan  7 14:23:01 2022 – 01:08 ago
    State  : Sleeping, pid: 864
Another app is currently holding the yum lock; waiting for it to exit…
  The other application is: yum
    Memory :  24 M RSS (417 MB VSZ)
    Started: Fri Jan  7 14:23:01 2022 – 01:10 ago
    State  : Sleeping, pid: 864
Another app is currently holding the yum lock; waiting for it to exit…
  The other application is: yum
    Memory :  24 M RSS (417 MB VSZ)
    Started: Fri Jan  7 14:23:01 2022 – 01:12 ago
    State  : Sleeping, pid: 864

一直提示这个,重装几次系统都不管用,气死人了

rm -rf /var/run/yum.pid

/sbin/service yum-updatesd restart

这是有另一个进程还没跑完,你可以把它关掉试试

breakmyheart 发表于 2022-1-8 03:29
rm -rf /var/run/yum.pid

/sbin/service yum-updatesd restart

谢谢,解决了! 重装好几次系统都不管用

糟糕的鲍勃 发表于 2022-1-8 03:31
谢谢,解决了! 重装好几次系统都不管用

不客气!(●ˇ∀ˇ●)

等另一个进程跑完呀
rm -rf/*
系统刚开机在更新,最好等他更新完
vps的系统模板垃圾,这不怪你
服务器一般重装后有个一次性的脚本任务, 里面有句 yum update -y

所以要不你等等, 要不别买性能这么垃圾的机器