Page 1 of 1

Kill -9 command - datastage process.

Posted: Sun Sep 16, 2007 11:51 pm
by Raghavendra
What will be the impact on a datastage process PID if we issue kill -9 command. In one of the thread ray suggested NEVER use Kill -9 on a datastage process. We have used it couple of times for killing the long running process but didn't face any problems.

Thanks in advance for DS Gurus

Posted: Mon Sep 17, 2007 12:03 am
by ArndW
Using kill -9 does not let the cleanup after itself. It is similar to turning off the power to your PC. You can ameliorate the damage by having the lock daemon running, it can usually remove the locks left open. In a worst case scenario the process could be writing to a DS system file and leave that file corrupt - potentially ruining a whole project. I have haven't seen it happen yet, but it could.

Posted: Mon Sep 17, 2007 1:01 am
by ray.wurlod
NEVER use kill -9 on a DataStage process. There are too many interdependencies. If you must kill the process (which I doubt you should ever need to do) use a gentler method such as kill -15. This gives the process a grace time in which it can clear up resources.

Posted: Mon Sep 17, 2007 1:17 am
by Raghavendra
Arnd and ray many thanks for your answers.