Chore resubmitting itself when Locked out by another Process
Posted: Mon Feb 05, 2018 9:50 am
Folks
I have an unusual situation in that I have a chore that runs hourly. The chore runs a single process and the setting is such that it treats the chore as a single transaction. The single process has about 8 sub processes and takes about 2 mins to run.
There is no start batch updates / end batch updates logic within any of our processes.
The server is set up for PI but we don't carry out view creation in separate processes thus a process will lock out others for its duration rather than for the limited duration of the process that builds the view.
Without contention the chore runs fine, but when a process locks it out, it seems that the scheduler will resubmit the chore again and again so it runs many times afterwards locking any other programs out.
Note: the multiple submissions are not as a result of previous submissions unable to run being queued up. Before the problem the previous hour's chore would have run successfully.
Any ideas would be much appreciated. Happy to provide any further information.
Regards
John
I have an unusual situation in that I have a chore that runs hourly. The chore runs a single process and the setting is such that it treats the chore as a single transaction. The single process has about 8 sub processes and takes about 2 mins to run.
There is no start batch updates / end batch updates logic within any of our processes.
The server is set up for PI but we don't carry out view creation in separate processes thus a process will lock out others for its duration rather than for the limited duration of the process that builds the view.
Without contention the chore runs fine, but when a process locks it out, it seems that the scheduler will resubmit the chore again and again so it runs many times afterwards locking any other programs out.
Note: the multiple submissions are not as a result of previous submissions unable to run being queued up. Before the problem the previous hour's chore would have run successfully.
Any ideas would be much appreciated. Happy to provide any further information.
Regards
John