How can I figure out what yum/systemd is doing?

Dave Johansen davejohansen at gmail.com
Sat Mar 7 18:49:06 UTC 2015


On Sat, Mar 7, 2015 at 9:50 AM, Dave Johansen <davejohansen at gmail.com>
wrote:

> Over an hour ago, I started a "yum remove" in F21 and it seems to have
> hung at removing the 2nd of 8 rpms. I noticed that systemd was using ~40%
> of a CPU and so I left figuring it might just "work itself out", but now
> over an hour later, it's still hung and system is still using a lot of CPU.
> What can I do to try and diagnose what is going wrong with yum and/or
> systemd?
> Thanks,
> Dave
>

I attached to the yum process with gdb and here's the backtrace:
#0  0xb76debac in __kernel_vsyscall ()
#1  0xb7510d03 in __waitpid_nocancel () from /lib/libpthread.so.0
#2  0xb6fa4842 in rpmScriptRun () from /lib/librpm.so.3
#3  0xb6f83c53 in runScript () from /lib/librpm.so.3
#4  0xb6f8434f in runInstScript () from /lib/librpm.so.3
#5  0xb6f8531b in rpmpsmRun () from /lib/librpm.so.3
#6  0xb6f9a3cb in rpmteProcess () from /lib/librpm.so.3
#7  0xb6fa1714 in rpmtsRun () from /lib/librpm.so.3
#8  0xb6fd0f0a in rpmts_Run () from
/usr/lib/python2.7/site-packages/rpm/_rpm.so
#9  0xb758a609 in PyCFunction_Call () from /lib/libpython2.7.so.1.0
#10 0xb754a645 in PyObject_Call () from /lib/libpython2.7.so.1.0
#11 0xb75e6f33 in PyEval_CallObjectWithKeywords () from
/lib/libpython2.7.so.1.0
#12 0xb75616c6 in methoddescr_call () from /lib/libpython2.7.so.1.0
#13 0xb754a645 in PyObject_Call () from /lib/libpython2.7.so.1.0
#14 0xb75eb187 in PyEval_EvalFrameEx () from /lib/libpython2.7.so.1.0
#15 0xb75ecfe1 in PyEval_EvalFrameEx () from /lib/libpython2.7.so.1.0
#16 0xb75ee1ea in PyEval_EvalCodeEx () from /lib/libpython2.7.so.1.0
#17 0xb75ecf11 in PyEval_EvalFrameEx () from /lib/libpython2.7.so.1.0
#18 0xb75ee1ea in PyEval_EvalCodeEx () from /lib/libpython2.7.so.1.0
#19 0xb75ecf11 in PyEval_EvalFrameEx () from /lib/libpython2.7.so.1.0
#20 0xb75ee1ea in PyEval_EvalCodeEx () from /lib/libpython2.7.so.1.0
#21 0xb75ecf11 in PyEval_EvalFrameEx () from /lib/libpython2.7.so.1.0
#22 0xb75ee1ea in PyEval_EvalCodeEx () from /lib/libpython2.7.so.1.0
#23 0xb75ecf11 in PyEval_EvalFrameEx () from /lib/libpython2.7.so.1.0
#24 0xb75ee1ea in PyEval_EvalCodeEx () from /lib/libpython2.7.so.1.0
#25 0xb75ee344 in PyEval_EvalCode () from /lib/libpython2.7.so.1.0
#26 0xb76078db in run_mod () from /lib/libpython2.7.so.1.0
#27 0xb7608d70 in PyRun_FileExFlags () from /lib/libpython2.7.so.1.0
#28 0xb760a163 in PyRun_SimpleFileExFlags () from /lib/libpython2.7.so.1.0
#29 0xb760a6c8 in PyRun_AnyFileExFlags () from /lib/libpython2.7.so.1.0
#30 0xb761c911 in Py_Main () from /lib/libpython2.7.so.1.0
#31 0x08048578 in main ()

It looks like it's waiting on some process. Is there a way I can tell what
the process is and why it hasn't returned yet?

Thanks,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/users/attachments/20150307/be8b1ae4/attachment.html>


More information about the users mailing list