LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-06-2010, 03:15 PM   #1
llesher@readingeagle.com
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Rep: Reputation: 0
zombie process at bootup


I got this OS, recently updated:
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Kernel 2.6.9-89.33.1.ELsmp on an i686

I get a zombie process immediately after boot; rebooting does not clear the process, guess it gets re-created.
As you can see, it's an Xsession. Only thing using X is the console.

These are the details.
ps -eo uid,pid,tid,spid,stat,comm,tty | grep Z
UID PID TID SPID STAT COMMAND TT
0 5073 5073 5073 Z Xsession <defunc ?

ps -ef --forest
root 4299 1 0 14:49 ? 00:00:00 /usr/bin/gdm-binary -nodaemon
root 4933 4299 0 14:49 ? 00:00:00 \_ /usr/bin/gdm-binary -nodaemon
root 4939 4933 0 14:49 ? 00:00:12 \_ /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
root 5054 4933 0 14:50 ? 00:00:00 \_ /usr/bin/gnome-session
root 5073 5054 0 14:50 ? 00:00:00 \_ [Xsession] <defunct>
root 5088 5054 0 14:50 ? 00:00:00 \_ /usr/bin/ssh-agent /bin/sh -c exec -l /bin/bash -c "/usr/bin/dbus-launch

Anyone got any ideas for a solution?

Last edited by llesher@readingeagle.com; 12-06-2010 at 03:17 PM. Reason: formatting for clarity
 
Old 12-06-2010, 03:38 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Rebooting clears ALL processes so this is being created again after a boot.

A zombie process is not in and of itself an issue. What problem are you having that makes you think this zombie is causing it?

It isn't unusual to see some processes become zombies. (For example any time one launches the man command on HP-UX there is a process listed as a zombie while the read is going on - it goes away when the man session is exited.)

What IS a sign of a problem is if you see multiple zombie processes that continue to grow in number. This is usually a sign that something is trying to fire off but is having issues so is going defunct then trying a new process. The issue there is NOT to find a way to get rid of the zombie but to find out what is creating it.

By the way many zombies will go away when their PPID does - they become defunct waiting on input that they'll never get but when the parent process goes away it can often take its children with it.
 
1 members found this post helpful.
Old 12-07-2010, 02:38 PM   #3
llesher@readingeagle.com
LQ Newbie
 
Registered: Jul 2009
Posts: 2

Original Poster
Rep: Reputation: 0
gui freezes; suspect zombie artifact of problem

Thanks for the quick response, it gave me some ideas to look into. To answer mensawater's question about what problem is causes: For one thing, the gui freezes up, eventually. Further investigation revealed if I logoff level-5 console and leave it at the level-5 login screen & telnet in, I see no (zero) zombie processes. As soon as I log in the console and get the gnome desktop, I get a zombie process. That sort of indicates the console startup process (X & gnome) is causing the zombie. The zombie processes do increase but only by a few. Since the console logs in only once, I don't know what is causing the zombie's to increase. I've been monitoring this server since 2006 and have never seen even 1 zombie process before, so whatever is causing the zombie is recent. If frozen gui is only thing I need to worry about, I can ignore it. Guess the problem with that is, I don't KNOW.
 
  


Reply


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
zombie process sang_froid Linux - Server 1 05-25-2010 08:23 AM
how to kill zombie process mokku Linux - Server 5 10-25-2007 09:21 PM
Zombie Process N|k0N Linux - Security 8 09-22-2007 02:01 AM
Zombie process - XMMS FeaRx Debian 3 11-04-2005 03:27 AM
zombie process ihatecomputers Linux - Software 2 03-24-2005 07:09 AM

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

All times are GMT -5. The time now is 06:18 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