About thirty minutes ago I started an update. Everything downloaded fine. But when it came to "Running Transaction", it hung:
.... Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : xulrunner 1/18
And there it sits still.
There's plenty of disk space. The load on the CPU is under 1.0. There is some disk activity, but no way so much as to cause anything to hang and no major writing related to yum. Disk reads are just about null, except just now when I grep'ed for something to make sure that the disk could be read. I'm not using even half of the available RAM.
Anyone else run into this problem?
ken wrote:
About thirty minutes ago I started an update. Everything downloaded fine. But when it came to "Running Transaction", it hung:
.... Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : xulrunner 1/18
And there it sits still.
There's plenty of disk space. The load on the CPU is under 1.0. There is some disk activity, but no way so much as to cause anything to hang and no major writing related to yum. Disk reads are just about null, except just now when I grep'ed for something to make sure that the disk could be read. I'm not using even half of the available RAM.
Anyone else run into this problem?
I've only run into it with an selinux policy update, when it apparently decided to relabel about 5 zillion files....
mark
On 07/01/2013 01:43 PM m.roth@5-cent.us wrote:
ken wrote:
About thirty minutes ago I started an update. Everything downloaded fine. But when it came to "Running Transaction", it hung:
.... Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : xulrunner 1/18
And there it sits still.
There's plenty of disk space. The load on the CPU is under 1.0. There is some disk activity, but no way so much as to cause anything to hang and no major writing related to yum. Disk reads are just about null, except just now when I grep'ed for something to make sure that the disk could be read. I'm not using even half of the available RAM.
Anyone else run into this problem?
I've only run into it with an selinux policy update, when it apparently decided to relabel about 5 zillion files....
Well, selinux isn't one of the packages being updated, so that's not the problem here. Good to know though.
On 07/01/2013 01:16 PM ken wrote:
About thirty minutes ago I started an update. Everything downloaded fine. But when it came to "Running Transaction", it hung:
.... Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Updating : xulrunner 1/18
And there it sits still.
There's plenty of disk space. The load on the CPU is under 1.0. There is some disk activity, but no way so much as to cause anything to hang and no major writing related to yum. Disk reads are just about null, except just now when I grep'ed for something to make sure that the disk could be read. I'm not using even half of the available RAM.
Anyone else run into this problem?
I had to kill yum to end the process. Then I tried again, less ambitiously and it hung again, this time earlier in the process:
# yum -d 8 update firefox Loading "aliases" plugin Loading "allowdowngrade" plugin Loading "changelog" plugin Loading "downloadonly" plugin Loading "fastestmirror" plugin Loading "filter-data" plugin Loading "kernel-module" plugin Loading "keys" plugin Loading "kmod" plugin Loading "list-data" plugin Loading "merge-conf" plugin Loading "priorities" plugin Loading "security" plugin Loading "tsflags" plugin Loading "verify" plugin Running "config" handler for "aliases" plugin Running "config" handler for "allowdowngrade" plugin Running "config" handler for "changelog" plugin Running "config" handler for "downloadonly" plugin Running "config" handler for "filter-data" plugin Running "config" handler for "keys" plugin Running "config" handler for "list-data" plugin Running "config" handler for "merge-conf" plugin Running "config" handler for "priorities" plugin Running "config" handler for "security" plugin Running "config" handler for "verify" plugin
And there it hangs now.
Hmm. Not even trying to do an update and yum hangs:
# ls /var/run/yum* ls: /var/run/yum*: No such file or directory # yum -d 10 info xulrunner Loading "aliases" plugin Loading "allowdowngrade" plugin Loading "changelog" plugin Loading "downloadonly" plugin Loading "fastestmirror" plugin Loading "filter-data" plugin Loading "kernel-module" plugin Loading "keys" plugin Loading "kmod" plugin Loading "list-data" plugin Loading "merge-conf" plugin Loading "priorities" plugin Loading "security" plugin Loading "tsflags" plugin Loading "verify" plugin Running "config" handler for "aliases" plugin Running "config" handler for "allowdowngrade" plugin Running "config" handler for "changelog" plugin Running "config" handler for "downloadonly" plugin Running "config" handler for "filter-data" plugin Running "config" handler for "keys" plugin Running "config" handler for "list-data" plugin Running "config" handler for "merge-conf" plugin Running "config" handler for "priorities" plugin Running "config" handler for "security" plugin Running "config" handler for "verify" plugin
ken wrote:
Hmm. Not even trying to do an update and yum hangs:
# ls /var/run/yum* ls: /var/run/yum*: No such file or directory # yum -d 10 info xulrunner Loading "aliases" plugin
<snip>
Running "config" handler for "security" plugin Running "config" handler for "verify" plugin
Have you tried yum-complete-transaction?
Alternatively, yum reinstall yum?
mark
On 07/01/2013 02:29 PM m.roth@5-cent.us wrote:
ken wrote:
Hmm. Not even trying to do an update and yum hangs:
# ls /var/run/yum* ls: /var/run/yum*: No such file or directory # yum -d 10 info xulrunner Loading "aliases" plugin
<snip> > Running "config" handler for "security" plugin > Running "config" handler for "verify" plugin
Have you tried yum-complete-transaction?
It hangs also.
Alternatively, yum reinstall yum?
Obviously this is going to hang also. I should sooner try an rpm command.
what strace -p PID-OF-YUM outputs?
-- Eero
2013/7/1 ken gebser@mousecar.com
Hmm. Not even trying to do an update and yum hangs:
# ls /var/run/yum* ls: /var/run/yum*: No such file or directory # yum -d 10 info xulrunner Loading "aliases" plugin Loading "allowdowngrade" plugin Loading "changelog" plugin Loading "downloadonly" plugin Loading "fastestmirror" plugin Loading "filter-data" plugin Loading "kernel-module" plugin Loading "keys" plugin Loading "kmod" plugin Loading "list-data" plugin Loading "merge-conf" plugin Loading "priorities" plugin Loading "security" plugin Loading "tsflags" plugin Loading "verify" plugin Running "config" handler for "aliases" plugin Running "config" handler for "allowdowngrade" plugin Running "config" handler for "changelog" plugin Running "config" handler for "downloadonly" plugin Running "config" handler for "filter-data" plugin Running "config" handler for "keys" plugin Running "config" handler for "list-data" plugin Running "config" handler for "merge-conf" plugin Running "config" handler for "priorities" plugin Running "config" handler for "security" plugin Running "config" handler for "verify" plugin
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
so, it's waiting something. try strace -f yum command and output to email
-- Eero
2013/7/1 ken gebser@mousecar.com
On 07/01/2013 02:37 PM Eero Volotinen wrote:
what strace -p PID-OF-YUM outputs?
-- Eero
# strace -p 28647 Process 28647 attached - interrupt to quit futex(0xb7a3846c, FUTEX_WAIT, 1, NULL
On 07/01/2013 03:28 PM Eero Volotinen wrote:
so, it's waiting something. try strace -f yum command and output to email
[Sorry for the delay. Got a phone call.]
There's a *lot* of output. Here's the last part of it:
read(6, "#!/usr/bin/python -t\n\n# This pro"..., 4096) = 4096 read(6, "his.\n '''\n return "..., 4096) = 4096 read(6, "urn super(PositiveIntOption, sel"..., 4096) = 4096 read(6, "r:\n raise ValueError("..., 4096) = 4096 read(6, "name to use. If not-specified th"..., 4096) = 4096 read(6, "nel-PAE-debug'])\n exactarchli"..., 4096) = 4096 read(6, " to pkgs_gpgcheck\n gpgcheck ="..., 4096) = 4096 write(2, " ", 4 ) = 4 write(2, "yumvars['releasever'] = _getsysv"..., 86yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg) ) = 86 close(6) = 0 munmap(0xb7967000, 4096) = 0 open("/usr/lib/python2.4/site-packages/yum/config.py", O_RDONLY|O_LARGEFILE) = 6 write(2, " File "/usr/lib/python2.4/site-"..., 81 File "/usr/lib/python2.4/site-packages/yum/config.py", line 884, in _getsysver ) = 81 fstat64(6, {st_mode=S_IFREG|0644, st_size=31008, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7967000 read(6, "#!/usr/bin/python -t\n\n# This pro"..., 4096) = 4096 read(6, "his.\n '''\n return "..., 4096) = 4096 read(6, "urn super(PositiveIntOption, sel"..., 4096) = 4096 read(6, "r:\n raise ValueError("..., 4096) = 4096 read(6, "name to use. If not-specified th"..., 4096) = 4096 read(6, "nel-PAE-debug'])\n exactarchli"..., 4096) = 4096 read(6, " to pkgs_gpgcheck\n gpgcheck ="..., 4096) = 4096 read(6, "default if value was not present"..., 4096) = 2336 write(2, " ", 4 ) = 4 write(2, "hdr = idx.next()\n", 17hdr = idx.next() ) = 17 close(6) = 0 munmap(0xb7967000, 4096) = 0 write(2, "StopIteration", 13StopIteration) = 13 write(2, "\n", 1 ) = 1 close(3) = 0 rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x71b4e0, [], SA_SIGINFO}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL, [], 0}, {0x71b4e0, [], SA_SIGINFO}, 8) = 0 close(5) = 0 close(4) = 0 munmap(0xb7968000, 450560) = 0 munmap(0xb79d6000, 1318912) = 0 munmap(0xb7b18000, 24576) = 0 rt_sigaction(SIGHUP, {SIG_DFL, [], 0}, NULL, 8) = 0 rt_sigaction(SIGINT, {0x21f41d0, [], 0}, NULL, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL, [], 0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, {0x21f41d0, [], 0}, NULL, 8) = 0 rt_sigaction(SIGPIPE, {0x1, [], 0}, NULL, 8) = 0 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 exit_group(1) = ?
It looks like it made it through the gpg check... which I was wondering about. Again, it looks like (wild guess) it's horking on some iteration, reading some values out of an array. At least it's not hanging anymore.