Parallel job hanging on oracle SQLloader ?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 63
- Joined: Mon Oct 20, 2008 12:01 am
- Location: Malaysia
-
- Participant
- Posts: 63
- Joined: Mon Oct 20, 2008 12:01 am
- Location: Malaysia
Hi, wbeitler, what I did was created a vbscript batch file to kill all the osh.exe before I trigger my next job seem I was using Windows platform.wbeitler wrote:siauchun84,
Aborting the job manually actually did get rid of 12 osh.exe processes.
Care to join how you solved your problem ?
*Note: Killing the osh.exe will causing all the running jobs terminated.
You may copy the following into notepad and save as .vbs in the server (Just double click it if you have direct access to the server. If not, create a seq job to trigger the script):
-------- VB Script --------
Dim wql
Dim wmi
Dim oResults
Set wmi = GetObject("winmgmts:")
wql = "SELECT * FROM win32_process WHERE name ='osh.exe'"
Set oResults = wmi.ExecQuery(wql)
For Each Process In oResults
Process.Terminate
Next
set wmi = nothing
---- End of VB Script ----------