Test Routine, infinite loop
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 1044
- Joined: Wed Sep 29, 2004 3:30 am
- Location: Nottingham, UK
- Contact:
Test Routine, infinite loop
I think my DataStage routine has an infinite loop in it - is there any way of interrupting the Test Routine dialog other than killing the Designer task?
Phil Hibbs | Capgemini
Technical Consultant
Technical Consultant
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
I was victim of this same situation and this is how I was able to solve it. I thought it was worth posting in case anyone else comes stumbling across this thread. I hope in the future DataStage will build in functionality into killing processes for when this happens because in enterprise applications, pulling the plug is often not an option.
I'm on the linux version, I don't know how it looks on windows. There should be processes called dsapi_slave This is the connection between your computer (client) and the server. Look for the dsapi_slave process that started at the time you ran your routine and kill it. Usually there will be 2-3 other parent processes related to the process you kill that should clean themselves up automatically.
References
http://www-01.ibm.com/support/docview.w ... wg21596423
I'm on the linux version, I don't know how it looks on windows. There should be processes called dsapi_slave This is the connection between your computer (client) and the server. Look for the dsapi_slave process that started at the time you ran your routine and kill it. Usually there will be 2-3 other parent processes related to the process you kill that should clean themselves up automatically.
References
http://www-01.ibm.com/support/docview.w ... wg21596423
-
- Participant
- Posts: 22
- Joined: Thu Apr 19, 2012 3:31 am
- Location: India
Go to /tmp/ folder in your unix server box. Try searching for a file starting with Capture*.
It will list some file whose names starting with Capture*
Try the same command again and again for multiple times. If any of the file size is getting increased, forcibly delete the file. Otherwise your server memory will run out of the limits.
This has to be done in case any routine gets hung due to infinite loop or so.
Code: Select all
ls -l Capture*
Try the same command again and again for multiple times. If any of the file size is getting increased, forcibly delete the file. Otherwise your server memory will run out of the limits.
This has to be done in case any routine gets hung due to infinite loop or so.
Regards,
Sai Krishna
Sai Krishna