help! yum is extremely slow when Resolving Dependencies

General support questions
Post Reply
rainvs
Posts: 3
Joined: 2019/10/08 13:08:40

help! yum is extremely slow when Resolving Dependencies

Post by rainvs » 2019/10/08 13:54:15

it happened on a vm.
when I run yum install somthing or update somthing, I must wait ten to dozens of mins.
When I originally setuped this vm,everything is good,yum is very fast.
I don't know when did the problem happen exactly,maybe when after I trans this vm to a new disk by using ovf.
I googled and tried every solutions I found,but problem is still there.
But I used trace yum and found that when yum Resolving Dependencies,there Massive pread64() message. I think it's the cause of the problem,but I don't know why and how to fix it.

part of log below,there is other 4863 rows of pread64() messages below the end of the log slice

Code: Select all

rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pread64(5, "\0\0\0\0\1\0\0\0\257\0\0\0\256\0\0\0\260\0\0\0\1\0\346\17\0\7.\0- Fi"..., 4096, 716800) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\260\0\0\0\257\0\0\0\261\0\0\0\1\0\346\17\0\7d colo"..., 4096, 720896) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\261\0\0\0\260\0\0\0\262\0\0\0\1\0\346\17\0\7ith se"..., 4096, 724992) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\262\0\0\0\261\0\0\0\263\0\0\0\1\0\346\17\0\7\0\0\0\1\0\0"..., 4096, 729088) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\263\0\0\0\262\0\0\0\264\0\0\0\1\0\346\17\0\7\0p\0\0\0q"..., 4096, 733184) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\264\0\0\0\263\0\0\0\265\0\0\0\1\0\346\17\0\7.22/fi"..., 4096, 737280) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\265\0\0\0\264\0\0\0\266\0\0\0\1\0\346\17\0\7\0\2\0\0\0\2"..., 4096, 741376) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\266\0\0\0\265\0\0\0\267\0\0\0\1\0\346\17\0\7 dynam"..., 4096, 745472) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\267\0\0\0\266\0\0\0\270\0\0\0\1\0\346\17\0\0074-bit "..., 4096, 749568) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\270\0\0\0\267\0\0\0\271\0\0\0\1\0\346\17\0\7ac9410"..., 4096, 753664) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\271\0\0\0\270\0\0\0\272\0\0\0\1\0\346\17\0\7, for "..., 4096, 757760) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\272\0\0\0\271\0\0\0\273\0\0\0\1\0\346\17\0\0071 (SYS"..., 4096, 761856) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\273\0\0\0\272\0\0\0\274\0\0\0\1\0\346\17\0\7\0\23R\0\0\16"..., 4096, 765952) = 4096
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("/bin/", {st_mode=S_IFDIR|0555, st_size=20480, ...}) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("/usr/bin/", {st_mode=S_IFDIR|0555, st_size=20480, ...}) = 0
rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
pread64(5, "\0\0\0\0\1\0\0\0\217'\0\0\0\0\0\0\220'\0\0\1\0\346\17\0\7\0\0\0>\0\230"..., 4096, 41480192) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\220'\0\0\217'\0\0\221'\0\0\1\0\346\17\0\7\2a\0\0\20\0"..., 4096, 41484288) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\221'\0\0\220'\0\0\222'\0\0\1\0\346\17\0\7\0\0\0i\0\0"..., 4096, 41488384) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\222'\0\0\221'\0\0\223'\0\0\1\0\346\17\0\7\0019\0\0\20\0"..., 4096, 41492480) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\223'\0\0\222'\0\0\224'\0\0\1\0\346\17\0\7\0\0\20\0\0\0"..., 4096, 41496576) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\224'\0\0\223'\0\0\225'\0\0\1\0\346\17\0\7\20\0\0\0\0\244"..., 4096, 41500672) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\225'\0\0\224'\0\0\226'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41504768) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\226'\0\0\225'\0\0\227'\0\0\1\0\346\17\0\7\0\0\0\0\20\0"..., 4096, 41508864) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\227'\0\0\226'\0\0\230'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41512960) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\230'\0\0\227'\0\0\231'\0\0\1\0\346\17\0\7\0\0\0\0\20\0"..., 4096, 41517056) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\231'\0\0\230'\0\0\232'\0\0\1\0\346\17\0\7\0\0\20\0\0\0"..., 4096, 41521152) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\232'\0\0\231'\0\0\233'\0\0\1\0\346\17\0\7\20\0\0\0\20\0"..., 4096, 41525248) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\233'\0\0\232'\0\0\234'\0\0\1\0\346\17\0\7\0\0\177\344\0\0"..., 4096, 41529344) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\234'\0\0\233'\0\0\235'\0\0\1\0\346\17\0\7\0\377\0\0\4/"..., 4096, 41533440) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\235'\0\0\234'\0\0\236'\0\0\1\0\346\17\0\7\0\0\3\30\0\0"..., 4096, 41537536) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\236'\0\0\235'\0\0\237'\0\0\1\0\346\17\0\7\5\1\0\0\10\260"..., 4096, 41541632) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\237'\0\0\236'\0\0\240'\0\0\1\0\346\17\0\7\0\0\20\0\0\0"..., 4096, 41545728) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\240'\0\0\237'\0\0\241'\0\0\1\0\346\17\0\7A\355\201\244A\355"..., 4096, 41549824) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\241'\0\0\240'\0\0\242'\0\0\1\0\346\17\0\7A\355\201\244\201\244"..., 4096, 41553920) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\242'\0\0\241'\0\0\243'\0\0\1\0\346\17\0\7\201\244A\355\201\244"..., 4096, 41558016) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\243'\0\0\242'\0\0\244'\0\0\1\0\346\17\0\7\201\244A\355\201\244"..., 4096, 41562112) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\244'\0\0\243'\0\0\245'\0\0\1\0\346\17\0\7\201\244\201\244\201\244"..., 4096, 41566208) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\245'\0\0\244'\0\0\246'\0\0\1\0\346\17\0\7\201\244\201\244\201\244"..., 4096, 41570304) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\246'\0\0\245'\0\0\247'\0\0\1\0\346\17\0\7\201\244\201\244\201\244"..., 4096, 41574400) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\247'\0\0\246'\0\0\250'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41578496) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\250'\0\0\247'\0\0\251'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41582592) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\251'\0\0\250'\0\0\252'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41586688) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\252'\0\0\251'\0\0\253'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41590784) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\253'\0\0\252'\0\0\254'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41594880) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\254'\0\0\253'\0\0\255'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41598976) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\255'\0\0\254'\0\0\256'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41603072) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\256'\0\0\255'\0\0\257'\0\0\1\0\346\17\0\7\0\0\0\0\0\0"..., 4096, 41607168) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\257'\0\0\256'\0\0\260'\0\0\1\0\346\17\0\7]|\37g]|"..., 4096, 41611264) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\260'\0\0\257'\0\0\261'\0\0\1\0\346\17\0\7\37g]|\37g"..., 4096, 41615360) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\261'\0\0\260'\0\0\262'\0\0\1\0\346\17\0\7]|\37g]|"..., 4096, 41619456) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\262'\0\0\261'\0\0\263'\0\0\1\0\346\17\0\7\37g]|\37g"..., 4096, 41623552) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\263'\0\0\262'\0\0\264'\0\0\1\0\346\17\0\7]|\37g]|"..., 4096, 41627648) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\264'\0\0\263'\0\0\265'\0\0\1\0\346\17\0\7\36:]|\36:"..., 4096, 41631744) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\265'\0\0\264'\0\0\266'\0\0\1\0\346\17\0\7]|\36:]|"..., 4096, 41635840) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\266'\0\0\265'\0\0\267'\0\0\1\0\346\17\0\7\36:]|\36:"..., 4096, 41639936) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\267'\0\0\266'\0\0\270'\0\0\1\0\346\17\0\7]|\36:]|"..., 4096, 41644032) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\270'\0\0\267'\0\0\271'\0\0\1\0\346\17\0\7\36:]|\36:"..., 4096, 41648128) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\271'\0\0\270'\0\0\272'\0\0\1\0\346\17\0\7]|\36:]|"..., 4096, 41652224) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\272'\0\0\271'\0\0\273'\0\0\1\0\346\17\0\7\3747]R\3747"..., 4096, 41656320) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\273'\0\0\272'\0\0\274'\0\0\1\0\346\17\0\7]R\3747]R"..., 4096, 41660416) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\274'\0\0\273'\0\0\275'\0\0\1\0\346\17\0\7\3747]R\3747"..., 4096, 41664512) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\275'\0\0\274'\0\0\276'\0\0\1\0\346\17\0\7]R\3747]R"..., 4096, 41668608) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\276'\0\0\275'\0\0\277'\0\0\1\0\346\17\0\7\37g]|\37g"..., 4096, 41672704) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\277'\0\0\276'\0\0\300'\0\0\1\0\346\17\0\00798bba2"..., 4096, 41676800) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\300'\0\0\277'\0\0\301'\0\0\1\0\346\17\0\0071c10ce"..., 4096, 41680896) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\301'\0\0\300'\0\0\302'\0\0\1\0\346\17\0\0079b3209"..., 4096, 41684992) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\302'\0\0\301'\0\0\303'\0\0\1\0\346\17\0\0078791e5"..., 4096, 41689088) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\303'\0\0\302'\0\0\304'\0\0\1\0\346\17\0\0077a1559"..., 4096, 41693184) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\304'\0\0\303'\0\0\305'\0\0\1\0\346\17\0\7dd6c42"..., 4096, 41697280) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\305'\0\0\304'\0\0\306'\0\0\1\0\346\17\0\00752d489"..., 4096, 41701376) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\306'\0\0\305'\0\0\307'\0\0\1\0\346\17\0\7ac0762"..., 4096, 41705472) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\307'\0\0\306'\0\0\310'\0\0\1\0\346\17\0\0071cdc0d"..., 4096, 41709568) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\310'\0\0\307'\0\0\311'\0\0\1\0\346\17\0\7fa2aa1"..., 4096, 41713664) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\311'\0\0\310'\0\0\312'\0\0\1\0\346\17\0\7c66cfd"..., 4096, 41717760) = 4096
pread64(5, "\0\0\0\0\1\0\0\0\312'\0\0\311'\0\0\313'\0\0\1\0\346\17\0\7\0\0fb8f"..., 4096, 41721856) = 4096

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: help! yum is extremely slow when Resolving Dependencies

Post by TrevorH » 2019/10/08 14:16:50

I think you've got ahead of yourself with the debugging there.. What do you get from yum itself if you crank up the debug level - say -d 3 or higher.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

rainvs
Posts: 3
Joined: 2019/10/08 13:08:40

Re: help! yum is extremely slow when Resolving Dependencies

Post by rainvs » 2019/10/08 17:44:46

nothing specials.

befor used strace, I used
yum update -y -d6
or similar commands to look what happen.and I only find when yum Resolving Dependencies and do do some transcation works, it would cost a long time.

like below:

Code: Select all

[root@dgallinone ~]# yum install mysql -y -d6
Not loading "fastestmirror" plugin, as it is disabled
Config time: 0.034
Yum version: 3.4.3
rpmdb time: 0.000
Setting up Package Sacks
pkgsack time: 0.012
Checking for virtual provide or file-provide for mysql
Obs Init time: 0.080
Resolving Dependencies
--> Running transaction check
---> Package mariadb.x86_64 1:5.5.64-1.el7 will be installed
Checking deps for mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('mariadb-libs(x86-64)', 'EQ', ('1', '5.5.64', '1.el7')) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('systemd', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('systemd', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('rtld(GNU_HASH)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('perl(Sys::Hostname)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('perl(IPC::Open3)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('perl(Getopt::Long)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('perl(File::Temp)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('perl(Fcntl)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('perl(Exporter)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libstdc++.so.6(GLIBCXX_3.4)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libstdc++.so.6(CXXABI_1.3)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libssl.so.10(libssl.so.10)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libpthread.so.0(GLIBC_2.3.2)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libpthread.so.0(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libm.so.6(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libdl.so.2(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libcrypto.so.10(libcrypto.so.10)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libc.so.6(GLIBC_2.17)(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('grep', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('fileutils', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('bash', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('/usr/sbin/update-alternatives', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('/usr/sbin/update-alternatives', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('/usr/bin/perl', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('/bin/sh', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libz.so.1()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libtinfo.so.5()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libstdc++.so.6()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libssl.so.10()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libpthread.so.0()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libncurses.so.5()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libm.so.6()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libdl.so.2()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
looking for ('libcrypto.so.10()(64bit)', None, (None, None, None)) as a requirement of mariadb.x86_64 1:5.5.64-1.el7 - u
1:mariadb-5.5.64-1.el7.x86_64 requires: mariadb-libs(x86-64) = 1:5.5.64-1.el7
--> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.64-1.el7 for package: 1:mariadb-5.5.64-1.el7.x86_64
Searching pkgSack for dep: mariadb-libs(x86-64)
Building updates object
up:simple updates time: 0.006
up:obs time: 0.011
up:condense time: 0.000
updates time: 218.044
Not Updating Package that is already updated: mariadb-libs.x86_64 1:5.5.60-1.el7_5
Not Updating Package that is already updated: mariadb-libs.x86_64 1:5.5.60-1.el7_5
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.60-1.el7_5 will be updated
Checking deps for mariadb-libs.x86_64 1:5.5.60-1.el7_5 - ud
---> Package mariadb-libs.x86_64 1:5.5.64-1.el7 will be an update
Checking deps for mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('rtld(GNU_HASH)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libssl.so.10(libssl.so.10)(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libpthread.so.0(GLIBC_2.3.2)(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libpthread.so.0(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libm.so.6(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libdl.so.2(GLIBC_2.2.5)(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libcrypto.so.10(libcrypto.so.10)(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libc.so.6(GLIBC_2.17)(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('/sbin/ldconfig', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('/sbin/ldconfig', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libz.so.1()(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libstdc++.so.6()(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libssl.so.10()(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libpthread.so.0()(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libm.so.6()(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libdl.so.2()(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
looking for ('libcrypto.so.10()(64bit)', None, (None, None, None)) as a requirement of mariadb-libs.x86_64 1:5.5.64-1.el7 - u
--> Finished Dependency Resolution
Dependency Process ending
Depsolve time: 560.961

Dependencies Resolved

===================================================================================================================
 Package                       Arch                    Version                         Repository             Size
===================================================================================================================
Installing:
 mariadb                       x86_64                  1:5.5.64-1.el7                  base                  8.7 M
Updating for dependencies:
 mariadb-libs                  x86_64                  1:5.5.64-1.el7                  base                  759 k

Transaction Summary
===================================================================================================================
Install  1 Package
Upgrade             ( 1 Dependent package)

Total download size: 9.5 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/2): mariadb-libs-5.5.64-1.el7.x86_64.rpm                                                 | 759 kB  00:00:03     
(2/2): mariadb-5.5.64-1.el7.x86_64.rpm                                                      | 8.7 MB  00:00:05     
-------------------------------------------------------------------------------------------------------------------
Total                                                                              1.9 MB/s | 9.5 MB  00:00:05     
Member: mariadb-libs.x86_64 1:5.5.64-1.el7 - u
Adding Package 1:mariadb-libs-5.5.64-1.el7.x86_64 in mode u
Member: mariadb.x86_64 1:5.5.64-1.el7 - u
Adding Package 1:mariadb-5.5.64-1.el7.x86_64 in mode u
Member: mariadb-libs.x86_64 1:5.5.60-1.el7_5 - ud
Running transaction check
Transaction check time: 105.440
Running transaction test
Transaction test succeeded
Transaction test time: 93.874
Running transaction
  Updating   : 1:mariadb-libs-5.5.64-1.el7.x86_64                                                              1/3 
  Installing : 1:mariadb-5.5.64-1.el7.x86_64                                                                   2/3 
  Cleanup    : 1:mariadb-libs-5.5.60-1.el7_5.x86_64                                                            3/3 
  Verifying  : 1:mariadb-libs-5.5.64-1.el7.x86_64                                                              1/3 
  Verifying  : 1:mariadb-5.5.64-1.el7.x86_64                                                                   2/3 
  Verifying  : 1:mariadb-libs-5.5.60-1.el7_5.x86_64                                                            3/3 
VerifyTransaction time: 205.646
Transaction time: 272.158

Installed:
  mariadb.x86_64 1:5.5.64-1.el7                                                                                    

Dependency Updated:
  mariadb-libs.x86_64 1:5.5.64-1.el7                                                                               

Complete!

yum will hang when some 'look for' job or some 'Verifying' job.

then I use strace.and find that there massive 'pread64()',and I run the same command on a normal vm with same configration.there was only a little 'pread64()' there.

rainvs
Posts: 3
Joined: 2019/10/08 13:08:40

Re: help! yum is extremely slow when Resolving Dependencies

Post by rainvs » 2019/10/09 01:43:29

TrevorH wrote:
2019/10/08 14:16:50
I think you've got ahead of yourself with the debugging there.. What do you get from yum itself if you crank up the debug level - say -d 3 or higher.
sorry,the last reply is not on the loop。Looking forward to your reply。 :)

Post Reply