Page 1 of 1

Posted: Tue May 20, 2008 4:44 pm
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.

any best way to kill pid

Posted: Tue May 20, 2008 5:41 pm
by just4u_sharath
thanks ray,is there any other way to kill DS related PIDS ,as if it is necessary to kill

Posted: Tue May 20, 2008 6:59 pm
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.

Posted: Wed May 21, 2008 3:51 am
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"

Posted: Wed May 21, 2008 4:12 am
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.

Posted: Wed May 21, 2008 4:29 am
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.

Posted: Wed May 21, 2008 12:18 pm
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

Posted: Wed May 21, 2008 2:23 pm
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....

Posted: Wed May 21, 2008 4:06 pm
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.

Posted: Wed May 21, 2008 4:08 pm
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.

Posted: Thu May 22, 2008 3:28 am
by ArndW
rani_cute wrote:....KILL -9 PID...
I think that is terrible advice and will cause problems.