Hi,
I have a strange behaviour of “SetJobFrameRange”. In a pre render script I simply run the following:
RepositoryUtils.SetJobFrameRange(job, “1-6048”, 4)
We have a repository server which is located on our site. But it is used in two regions. When I render in our region the command runs fine. If I run the command on a machine in the other region, the commands corrupts the job.
The task view does not start with the pre render script and task 0, 1, 2 etc. It starts with task 55, 56 and so on. The job cannot be suspended. I can only delete it.
Can it be that SetJobFrameRange is too slow and the server cancel the task in the middle of the process and therefore corrupts the job? the job is not marked as corrupted.
The less tasks I have the higher is the change that the SetJobFrameRange command is working as expected. I pinged the server already and it looks fine. 20ms in region 1, and 30ms in region 2.
Can I somehow tell the server to wait a little more? Probably somewhere in the performance settings of the repository. Timeout settings in the job did not help here.
What I also saw in the Deadline Monitor how it updates the task in the view. It updates not immeadiately but in chunks. So I only see e.g. Task 80 to 120. In the end, the view is updated completey and everything looks like it should. I think I need to raise a timeout value in the repository somewhere.
Resubmit job works e.g. and is my workaround currently. But not a nice one. Maybe someone knows something. It is really strange.
Deadline version: 10.1.9.2
Error Message from the log window:
2023-01-20 11:49:02: Scheduler Thread - Task “-2_0” has been requeued, because DeletedTask. Cancelling task…
2023-01-20 11:49:02: 0: RenderThread CancelCurrentTask called, will transition from state None to None
2023-01-20 11:49:02: 0: In the process of canceling current task: ignoring exception thrown by PluginLoader
2023-01-20 11:49:02: 0: Executing plugin command of type ‘Cancel Task’
2023-01-20 11:49:02: 0: Done executing plugin command of type ‘Cancel Task’
Here you see that the first task is 803.
Thanks!