Rahul,
You may have to kill the parent process . Try killing
the parent PID of the defunct process, instead of the
defunct process PID.
Regards
Sukumar Kurup
- Rahul <rahul_at_ratelindo.co.id> wrote:
> jagan, the defunct is not getting killed... i stays
> there no matter how many
> times
> i try to kill it
>
> > ----------
> > From: JAGAN RAO[SMTP:jaganr_at_dubal.co.ae]
> > Sent: Wednesday, January 10, 2001 4:46 PM
> > To: 'Rahul'
> > Cc: 'oracledba_at_quickdoc.co.uk'
> > Subject: RE: <defunct> process in AIX
> >
> > <<File: defunct1.txt>>
> > Killing the defunct process should be ok. No need
> to recreate the port.
> >
> > Attached is the sample script. Go through and
> customize for your needs.
> >
> > <<defunct1.txt>>
> > applmgr is a username whose defunct processes are
> getting killed. You need
> > to put your user name there in the grep statement.
> It is recommended to
> > first comment the kill statement and test the
> script and then uncomment
> > the
> > kill statement.
> >
> > Do not run this script as root and without ps -ef
> | grep <username>
> > filter.
> > If you do so, you will be killing the defunct
> processes of root and that
> > could cause system crash, definitely so if you are
> using hacmp [clustering
> > feature in aix].
> >
> > It will be good idea to find out the reason for
> the hanging situation. Are
> > you proper using proper handshaking? You can use
> line analyzers to solve
> > these kind of issues. Now a days you can get them
> quite cheap or probably
> > down load the trial versions from the web.
> >
> > Long back I have used a similar thing of
> interfacing our hp server to a
> > telephone exchange to automatically capture the
> information regarding
> > telephone calls
> > and also to update the oracle database [Pro*C]. Do
> not remember to have
> > faced these kind of hung issues. It will be good
> idea to dig into the C
> > code.
> >
> > Warm Regards,
> > Jagan rao.
> >
> > -----Original Message-----
> > From: Rahul [SMTP:rahul_at_ratelindo.co.id]
> > Sent: Wednesday, January 10, 2001 1:28 PM
> > To: 'Oracle List I'; 'Oracle List II'
> > Subject: <defunct> process in AIX
> >
> > List,
> > we are running oracle 816 on AIX H70, we use the
> tty port to
> > communicate
> > with a telephone switch, program written in 'C'
> reads from Oracle
> > and
> > writes the command to the '/dev/tty1' .
> >
> > the problem is that sometimes the port hangs and
> we find a zombie
> > <defuct>
> > process hanging in memory...... it does not allow
> to drop and
> > recreate the
> > port also..
> > says... "specified device is busy..."
> >
> > is there any way to clear the <defunct> process ?
> and/or
> > drop/recreate the
> > TTY port ??
> >
> > previously we used to re-boot the machine, but
> this is not an option
> > now..
> >
> > Regards
> >
> > Rahul
> >
> >
> >
> >
> > --------
> > Think you know someone who can answer the above
> question? Forward it
> > to them!
> > to unsubscribe, send a blank email to
> > oracledba-unsubscribe_at_LAZYDBA.com
> > to subscribe send a blank email to
> oracledba-subscribe_at_LAZYDBA.com
> > Visit the list archive:
> http://www.LAZYDBA.com/odbareadmail.pl
> >
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Rahul
> INET: rahul_at_ratelindo.co.id
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists
>
> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).
Received on Wed Jan 10 2001 - 21:43:39 CST