A zombie process, which should not be using any resources (RAM and CPU), is hogging up an entire core on my 8-core 64-bit Ubuntu 11.10 Desktop installation.
This is the output of
ps -el|grep Z:
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 0 Z 1000 10317 1 99 80 0 - 0 exit ? 19:27:15 java <defunct>
... and here is an excerpt from
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 10317 deltik 20 0 0 0 0 Z 100 0.0 1170:17 java <defunct> 1424 root 20 0 612m 193m 158m S 14 2.4 287:17.11 Xorg 12580 deltik 20 0 710m 135m 46m S 5 1.7 27:31.07 compiz
This is how the zombie process came to existence:
- I opened a Java JAR called minecraft.jar. This launcher downloads another JAR file to ~/.minecraft/bin/minecraft.jar
- That JAR was executing when I locked my computer with
- Then, I entered my password to unlock the computer, and I saw that the Minecraft window was frozen.
- I tried killing it (PID 10317) with
gnome-system-monitor. It became a zombie.
kill -9 10317was ineffective.
xkillonly closed the window titled "Minecraft"; it didn't close the underlying
- The graphics driver is FGLRX, and it has caused notorious issues with Unity of Ubuntu 11.04 and Ubuntu 11.10, including sometimes high CPU usage of
I want to know:
- What way is there to destroy this process of
javawithout restarting, if any?
- Why is this issue happening?
- What can I do to prevent this issue from happening again?