kill process ids

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You should NEVER kill DataStage processes. You risk turning child processes of the killed process into zombies (and there are other reasons also). Reboot your server to clear the process table.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
just4u_sharath
Premium Member
Premium Member
Posts: 236
Joined: Sun Apr 01, 2007 7:41 am
Location: Michigan

any best way to kill pid

Post by just4u_sharath »

thanks ray,is there any other way to kill DS related PIDS ,as if it is necessary to kill
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Analogy: Is there any other way to kill people, as if it is necessary to kill ?

It is never necessary to kill DS processes if jobs are well-designed.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Ray, perhaps we need to be more politically correct in UNIX and use sa new set of UNIX commands or synonyms for the much maligned "kill":

"terminate_with_extreme_prejudice {pid}"
"render {pid}"
"neutralize {pid}"
"whack {pid}"
"retire {pid}"

And we should get rid of zombies, they are to be called "alternately capable spirit-challenged processes", and phantoms should be called "Non corporeal processes"
Cr.Cezon
Participant
Posts: 101
Joined: Mon Mar 05, 2007 4:59 am
Location: Madrid

Post by Cr.Cezon »

you should identify first all the unix process relationated, and also you should identify all the universe internal process.
To do this you need a very height knowledge of DS machine.

If you don't have this knowledge better do what Ray advise you.

regards,
Cristina.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I should add that what really brings DataStage into disarray is a "kill -9" command, doing a normal "kill", while not normally necessary, will probably not require a DS restart.
benghiat99
Premium Member
Premium Member
Posts: 3
Joined: Wed Oct 26, 2005 11:30 am

Post by benghiat99 »

Hello Ray,
I would be curious to know more about this process table that you refer to, is this a Datastage table? Can I query against it to see if I need to re-start Datastage ? Also I would like to know more detail's as the problems causud by kill -9 's ?
Thanks.
Steve Benghiat
rani_cute
Participant
Posts: 6
Joined: Tue May 20, 2008 2:45 pm
Location: il

Post by rani_cute »

hey the best way is kill the sessions

type ps -ef|grep dscs
n see the PID and
KILL -9 PID


or

go to Datastage Admin command

n type ds.tools

go through the options u can make it out
u r done..... :D :)



Last but not least ....reboot the server....
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The process table to which I referred is the UNIX process table. A process ID is a row number in this table. It is internal to the UNIX kernel.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

rani_cute wrote:hey the best way is kill the sessions

type ps -ef|grep dscs
n see the PID and
KILL -9 PID


or

go to Datastage Admin command

n type ds.tools

go through the options u can make it out
u r done..... :D :)
Aaaaarrrrggggghh!

Don't ever work for me. It would be significantly dangerous for you.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

rani_cute wrote:....KILL -9 PID...
I think that is terrible advice and will cause problems.
Post Reply