Ask Your Question
0

Can't cleanup Zombie process and it survives reboots. How to fix?

asked 2015-04-24 14:42:22 -0600

updated 2015-04-29 16:54:17 -0600

I'm running Fedora 21 in VirtualBox for experimenting and I just noticed that there is an zombie process:

PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
1276 user+   20   0       0     0        0 Z   0.0  0.0   0:00.05 kwalletd

I've tried to use this:

kill -HUP $(ps -A -ostat,ppid | grep -e '[zZ]'| awk '{ print $2 }')

but it killed KDE and logged me out, and the process was still there and a second one had appeared so I tried to reboot..... It survives reboots. I managed to get it down to the one again. But now I'm stumped.

Question:

How do I clean this up?

EDIT #1

I don't know if the process has the same process id after reboot but know it's still there after. I found that you can't kill an zombie but I did found the above command for cleaning up zombies and somewhere I read I could use kill -9 PID also. None have helped except the above kill cleaned the second zombie.

EDIT #2

I found this zombie process(kwalletd) on all my Fedora's(4 F21 64 bit KDE). Google search didn't give anything, anyone have an idea why this process is a zombie?

EDIT #3

Thank's to @mclmmc I found this bug which is probably releated: kwalletmanager/+bug/1309955

edit retag flag offensive close merge delete

Comments

Thank you for that edit. Your original question seemed to imply that the process, PID and all, was still there after a reboot. Have you checked Bugzilla for any bugs in kwalletd that might be related?

sideburns gravatar imagesideburns ( 2015-04-24 16:20:03 -0600 )edit

@sideburns No I've not checked or reported but maybe I will, I've tried google and because I didn't find anything there I posted here, also I thought maybe it had something to do with the os running in VirtualBox and that daemon would not be useful there but that was just a guess.

somethingSomething gravatar imagesomethingSomething ( 2015-04-24 16:33:03 -0600 )edit

@sideburns Google showed me nothing about this but it is also present/zombie on two other systems I just checked.

somethingSomething gravatar imagesomethingSomething ( 2015-04-24 19:31:53 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-04-24 15:17:17 -0600

sideburns gravatar image

First, as you'll see by checking Wikipedia, kill doesn't work on a zombie process. Second, what do you mean when you say that it survives reboots? Do you just mean that there's a zombie copy of kwalletd showing, or that it still has the same PID that it had before? Have you tried switching to a different console after reboot but before logging in to see if it's there already, or does it just show up after you log in and check from a terminal inside a GUI?

In any case, this should probably be reported as a bug, but I'd recommend doing the testing that I suggested above first, to give the maintainers as much info as you can. Good luck, and keep us informed.

edit flag offensive delete link more

Comments

If it is a bug, it could be that. The bug is a year old, but it does not seem closed.

mclmmc gravatar imagemclmmc ( 2015-04-25 19:13:33 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-24 14:42:22 -0600

Seen: 686 times

Last updated: Apr 29 '15