LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-20-2007, 08:56 PM   #1
LQ Newbie
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Zombie takes 100% CPU, cannot kill

I am running Tomcat 5.5 on Redhat 4. Sometimes when I restart tomcat, Java process does not exit fully and keeps running, using up 100% CPU as a Zombie. I cannot kill it as it is already Zombie. Problem is that it keeps some files locked and also does not release sockets so I cannot restart tomcat. The only way to get rid of them is to reboot the server. I cannot do that because it is a production server and it has more apps running on same.

I think it is a kernel problem. Can someone confirm this? This server is part of OCFS2 cluster and to upgrade kernel, I will need to upgrade kernel and OCFS2 on all servers in the cluster.

Details of the system -

Redhat ES 4.4
Kernel - 2.6.9-42.0.3.ELsmp
Sun Java - 1.5.0_06
OCFS2 - 1.2.5

Typical top output

Tasks: 164 total, 3 running, 160 sleeping, 0 stopped, 1 zombie
Cpu(s): 1.7% us, 25.1% sy, 0.0% ni, 73.2% id, 0.0% wa, 0.0% hi, 0.0% si
Mem: 8310552k total, 8000436k used, 310116k free, 127736k buffers
Swap: 16386292k total, 4k used, 16386288k free, 3536180k cached

13313 tomcat 15 0 0 0 0 Z 100 0.0 463:16.95 1 java <defunct>
Old 12-20-2007, 09:23 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 13,630

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393
If tomcat is the parent, simply stopping it should allow init to reap the zombie.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to kill zombie process mokku Linux - Server 5 10-25-2007 10:21 PM
Zombie processs how do you kill them? edouglas Linux - Newbie 1 03-04-2007 01:13 AM
Wine zombie processes completely kill sound Haiyadragon Linux - Software 4 01-01-2006 04:44 PM
logrotate takes up 100% CPU indefinitely BroX Slackware 2 05-24-2005 04:32 AM
XMMS crash, 100% cpu, even root cant kill it? gundelgauk Linux - Software 12 11-01-2003 04:59 PM

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration