Solved

<defunct> process

Posted on 1997-11-26
3
1,556 Views
Last Modified: 2008-03-17
How does a <defunct> process produces itself?
Does many <defunct> process hang the system?

It seems that my program creates a lot of <defunct> process.  

My program is a daemon process in which another program is called by using a system call.

P.S I'm working on IBM RS6000 with AIX 4.1.5
0
Comment
Question by:Rita060297
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Expert Comment

by:julio011597
ID: 2008021
Doesn't your program fork childs??

AIX has some oddities (so i'll leave this as a comment), but, in general, here is how things work:

1. a parent fork's a child;
2. the parent exits without wait'ing for the child;
3. the child exits and, since there's no parent to rip it off, keeps being in the system table as a <defunct>.

Check wait(2) man page on your OS.

-julio
0
 
LVL 2

Accepted Solution

by:
df020797 earned 50 total points
ID: 2008022
<defunct> processes are spawnewd children to other processes who lost connection to their tty (I/O interface vs a shell) or a normal process who in someway lost their tty.

DOnt midn these process, because they will be cleaned up by the OS in itself in its garbage collection mission to retrieve lost system resources.

A process can become <defunct> due to many reasons, many of them not even related to user interaction. So its hard to tell exactly why just THAT process became <defunct>.

0
 
LVL 5

Expert Comment

by:julio011597
ID: 2008023
tty has nothing to do with zombie processes.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question