[root@localhost /]# yum install memcached
Existing lock /var/run/yum.pid: another copy is running as pid 102792.
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 20 M RSS (426 MB VSZ)
Started: Mon Nov 18 22:40:41 2019 - 15:25 ago
State : Traced/Stopped, pid: 102792
Another app is currently holding the yum lock; waiting for it to exit...
The other application is: yum
Memory : 20 M RSS (426 MB VSZ)
Started: Mon Nov 18 22:40:41 2019 - 15:27 ago
State : Traced/Stopped, pid: 102792
Solution:
rm -f /var/run/yum.pid