This has been happening on multiple servers for quite awhile now. Whenever we run updates all the servers that run CloudLinux spawn yum multiple times, causing yum to wait for itself to finish.
ps aux | grep tee shows 2 tee sessions to the same log file.
and the log file shows
processlist:
The waiting never ends.
ps aux | grep tee shows 2 tee sessions to the same log file.
Code:
# ps aux | grep tee root 76662 0.0 0.0 4364 360 pts/0 S+ 11:31 0:00 tee -ia /var/log/directadmin/custombuild.1708943469.76592.cmV3cml0ZV9jb25mcwA.log root 76664 0.0 0.0 4364 360 pts/0 S+ 11:31 0:00 tee -ia /var/log/directadmin/custombuild.1708943469.76592.cmV3cml0ZV9jb25mcwA.log root 81972 0.0 0.0 110804 892 pts/1 S+ 11:47 0:00 grep --color=auto tee
Code:
Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum-complete-tr Memory : 215 M RSS (841 MB VSZ) Started: Mon Feb 26 11:28:48 2024 - 17:26 ago State : Sleeping, pid: 75671 Another app is currently holding the yum lock; waiting for it to exit... The other application is: yum-complete-tr Memory : 215 M RSS (841 MB VSZ) Started: Mon Feb 26 11:28:48 2024 - 17:28 ago State : Sleeping, pid: 75671
Code:
\_ /usr/bin/python -tt /sbin/yum-complete-transaction \_ /bin/sh /var/tmp/rpm-tmp.0CeQAq 5 \_ /usr/local/directadmin/custombuild/build rewrite_confs \_ custombuild -c source /proc/self/fd/3 build rewrite_confs \_ custombuild -c source /proc/self/fd/3 build rewrite_confs | \_ tee -ia /var/log/directadmin/custombuild.1708943469.76592.cmV3cml0ZV9jb25mcwA.log \_ custombuild -c source /proc/self/fd/3 build rewrite_confs | \_ tee -ia /var/log/directadmin/custombuild.1708943469.76592.cmV3cml0ZV9jb25mcwA.log \_ custombuild -c source /proc/self/fd/3 build rewrite_confs \_ custombuild -c source /proc/self/fd/3 build rewrite_confs \_ sh ./install/da_cb_install stable 1.1-72 \_ /usr/bin/python /bin/yum install -y yum-utils file
Comment