From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653644221613.tru64-unix-managers.marc@archive.invalid> From: Jonathan Williams Date: Wed, 05 Dec 2001 22:00:36 +0000 To: tru64-unix-managers Subject: SUMMARY: Defunct Processes X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653644221613 MIME-Version: 1 Content-Type: multipart/mixed; boundary="------=_NextPart_000_003B_01C17DAE.5C0DE300" This is a multi-part message in MIME format. ------=_NextPart_000_003B_01C17DAE.5C0DE300 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Ok...tons of responses. Everybody agrees on what a defunct process is: "As I understand it, they exist because they were child processes which were created, ended, but not waited on by their parents. They cannot be killed since they are already dead. In order for them to go away, their parent process needs to wait on them, which is apparently not happening. The two ways I know how to make this happen would be either to get their parent processes to wait on them, which is likely impossible, or to kill the parent processes so that the children will be orphaned and adopted by the system, which will then wait on them, at which point they will go away. The only alternative is to reboot the machine." So I looked at the ps -ef|grep defunct, and did notice that all of the = defunct processes had the same parent. It is one of the Xipc daemons = (xipcisd to be precise if anyone out there uses Xipc). We haven't fixed = it yet, but I can happily pass it on to Envoy (the most recent Xipc = purchasers) for them to fix the problem. =20 Thanks to everyone who responded. Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. -----Original Message----- From: Jonathan Williams [mailto:jonathw@shubertorg.com] Sent: Wednesday, December 05, 2001 1:45 AM To: Tru64 Mailing List Subject: Defunct processes Ok...we have 3 production servers--Alpha ES40 running Tru64 5.1 Patch = Kit 3. We have noticed a ton of defunct processes running on the server that is = the "online" server. These processes don't appear in near the same numbers = on the backup servers--but if we bring a backup server online, the defunct processes start appearing. I was curious last night and ran the = following: ps -A |grep defunct | wc -l and there were right around 10400 defunct processes. Now I have no idea what a defunct process is. Also I'm not = sure how bad they are, because they've been there for a long time (months and months and months) but just today the big-boss-man decided that they = need to be looked into. So my very general questions are: what are these processes, are they normal or is there something wrong with our = production application (big surprise there), and what do we do about them? The = only things these systems are running is: TU 5.1, Informix (IDS 2000, client SDK, and SQL), Passport, and Xipc. I know it's a very general question...but I just need to know where to start investigating. =20 ------=_NextPart_000_003B_01C17DAE.5C0DE300 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Ok...tons of responses.  Everybody = agrees on=20 what a defunct process is:
 
 
"As I understand it, they exist because = they were=20 child processes which
were created, ended, but not waited on by their = parents.  They cannot
be killed since they are already = dead.  In=20 order for them to go away,
their parent process needs to wait on = them, which=20 is apparently not
happening.  The two ways I know how to make = this=20 happen would be
either to get their parent processes to wait on them, = which=20 is likely
impossible, or to kill the parent processes so that the = children=20 will
be orphaned and adopted by the system, which will then wait on=20 them,
at which point they will go away.  The only alternative is = to=20 reboot
the machine."
So I looked at the ps -ef|grep defunct, = and did=20 notice that all of the defunct processes had the same parent.  It = is one of=20 the Xipc daemons (xipcisd to be precise if anyone out there uses = Xipc).  We=20 haven't fixed it yet, but I can happily pass it on to Envoy (the most = recent=20 Xipc purchasers) for them to fix the problem. 
 
Thanks to everyone who = responded.
 
Jonathan Williams
Unix Systems=20 Administrator
The Shubert Organization, Inc.
 
-----Original Message-----
From: = Jonathan=20 Williams [mailto:jonathw@shubertorg.com]=
Sent:=20 Wednesday, December 05, 2001 1:45 AM
To: Tru64 Mailing = List
Subject:=20 Defunct processes


Ok...we have 3 production servers--Alpha = ES40=20 running Tru64 5.1 Patch Kit 3.
We have noticed a ton of defunct = processes=20 running on the server that is the
"online" server.  These = processes=20 don't appear in near the same numbers on
the backup servers--but if = we bring=20 a backup server online, the defunct
processes start appearing.  = I was=20 curious last night and ran the following:
ps -A |grep defunct | wc=20 -l   and there were right around 10400 = defunct
processes.  Now=20 I have no idea what a defunct process is.  Also I'm not sure
how = bad=20 they are, because they've been there for a long time (months = and
months and=20 months)  but just today the big-boss-man decided that they = need
to be=20 looked into.  So my very general questions are:  what are=20 these
processes, are they normal or is there something wrong with our = production
application (big surprise there), and what do we do about=20 them?  The only
things these systems are running is:  TU = 5.1,=20 Informix (IDS 2000, client
SDK, and SQL), Passport, and Xipc.  I = know=20 it's a very general
question...but I just need to know where to start = investigating. 

------=_NextPart_000_003B_01C17DAE.5C0DE300--