LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-20-2007, 07:56 PM   #1
xlduser
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

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ PPID COMMAND
13313 tomcat 15 0 0 0 0 Z 100 0.0 463:16.95 1 java <defunct>
 
Old 12-20-2007, 08:23 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

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


Reply



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 09:21 PM
Zombie processs how do you kill them? edouglas Linux - Newbie 1 03-04-2007 12:13 AM
Wine zombie processes completely kill sound Haiyadragon Linux - Software 4 01-01-2006 03:44 PM
logrotate takes up 100% CPU indefinitely BroX Slackware 2 05-24-2005 03:32 AM
XMMS crash, 100% cpu, even root cant kill it? gundelgauk Linux - Software 12 11-01-2003 03:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:30 AM.

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