Thanks for patch.
This work since restart slaves and uncheck “Limit Tasks To Slave’s Task Limit”
But one slave write errors…
[code]Error Message
Index was outside the bounds of the array.
Slave Log
ns.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
at IronPython.Runtime.Types.ComObject.AddType(Guid guid, Type type)
at IronPython.Runtime.TopReflectedPackage.LoadAssembly(SystemState state, Assembly assem, Boolean isInteropAssembly)
at IronPython.Modules.ClrModule.AddReference(Assembly assembly)
at IronPython.Modules.ClrModule.AddReferenceByName(String[] names)
at IronPython.Runtime.TopReflectedPackage.Initialize(SystemState state)
at IronPython.Runtime.Importer.ImportBuiltin(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportTopAbsolute(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportModule(ICallerContext context, String modName, Boolean bottom)
at IronPython.Hosting.EngineModule.Import(String moduleName)
at FranticX.Scripting.ScriptEngine…ctor()
at Deadline.Scripting.DeadlineScriptEngine…ctor(DeadlineController deadlineController)
at Deadline.Plugins.ScriptPlugin.GetNewScriptEngine()
at Deadline.Plugins.ScriptPlugin…ctor(String pluginName, DeadlineController deadlineController)
at Deadline.Plugins.Plugin…ctor(String name, String networkSourcePath, String slaveDestinationPath, Int32 threadId, DeadlineController deadlineController)
at Deadline.Controllers.DeadlineController.RequestPlugin(String pluginName, String slaveLocalPath, Int32 threadID)
at Deadline.Slaves.SlaveRenderThread.RequestPlugin(String pluginName, Boolean reloadPlugin)
at Deadline.Slaves.SlaveRenderThread.LoadPlugin()
at Deadline.Slaves.SlaveRenderThread.ThreadMain()
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Scheduler Thread - Render Thread 4 threw an error:
Scheduler Thread - Index was outside the bounds of the array.
Scheduler Thread - Unexpected Error Occured: Index was outside the bounds of the array. (System.IndexOutOfRangeException)
Error Type
IndexOutOfRangeException
Error Stack Trace
at System.Collections.Generic.Dictionary2.Insert(TKey key, TValue value, Boolean add) at System.Collections.Generic.Dictionary
2.set_Item(TKey key, TValue value)
at IronPython.Runtime.Types.ComObject.AddType(Guid guid, Type type)
at IronPython.Runtime.TopReflectedPackage.LoadAssembly(SystemState state, Assembly assem, Boolean isInteropAssembly)
at IronPython.Modules.ClrModule.AddReference(Assembly assembly)
at IronPython.Modules.ClrModule.AddReferenceByName(String[] names)
at IronPython.Runtime.TopReflectedPackage.Initialize(SystemState state)
at IronPython.Runtime.Importer.ImportBuiltin(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportTopAbsolute(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportModule(ICallerContext context, String modName, Boolean bottom)
at IronPython.Hosting.EngineModule.Import(String moduleName)
at FranticX.Scripting.ScriptEngine…ctor()
at Deadline.Scripting.DeadlineScriptEngine…ctor(DeadlineController deadlineController)
at Deadline.Plugins.ScriptPlugin.GetNewScriptEngine()
at Deadline.Plugins.ScriptPlugin…ctor(String pluginName, DeadlineController deadlineController)
at Deadline.Plugins.Plugin…ctor(String name, String networkSourcePath, String slaveDestinationPath, Int32 threadId, DeadlineController deadlineController)
at Deadline.Controllers.DeadlineController.RequestPlugin(String pluginName, String slaveLocalPath, Int32 threadID)
at Deadline.Slaves.SlaveRenderThread.RequestPlugin(String pluginName, Boolean reloadPlugin)
at Deadline.Slaves.SlaveRenderThread.LoadPlugin()
at Deadline.Slaves.SlaveRenderThread.ThreadMain()
[/code]
Then I manually restart slave, and Command Script Job is work.
And find few bugs…
-
slave takes eight task, but spawn less processes ffmpeg.exe, if I requeue task was not rendering, slaves write error in out, and dont take another task in processing (screenshot).
-
after rendering task, slave write error, but task complete. Error logs:
Error Message
Object reference not set to an instance of an object.
Slave Log
: STDOUT: frame=128399 fps= 33 q=23.0 size= 691250kB time=5135.80 bitrate=1102.6kbits/s
1: STDOUT: frame=128418 fps= 33 q=20.0 size= 691366kB time=5136.56 bitrate=1102.6kbits/s
1: STDOUT: frame=128435 fps= 33 q=22.0 size= 691472kB time=5137.24 bitrate=1102.6kbits/s
1: STDOUT: frame=128453 fps= 33 q=22.0 size= 691570kB time=5137.96 bitrate=1102.6kbits/s
1: STDOUT: frame=128475 fps= 33 q=-1.0 Lsize= 695689kB time=5138.92 bitrate=1109.0kbits/s
1: STDOUT:
1: STDOUT: video:637287kB audio:54493kB global headers:1kB muxing overhead 0.565059%
1: STDOUT: [libx264 @ 0x311d010]slice I:8309 Avg QP:18.35 size: 24629
1: STDOUT: [libx264 @ 0x311d010]slice P:42748 Avg QP:23.24 size: 6155
1: STDOUT: [libx264 @ 0x311d010]slice B:77418 Avg QP:24.83 size: 2388
1: STDOUT: [libx264 @ 0x311d010]consecutive B-frames: 0.8% 10.4% 88.8%
1: STDOUT: [libx264 @ 0x311d010]mb I I16..4: 18.5% 26.7% 54.8%
1: STDOUT: [libx264 @ 0x311d010]mb P I16..4: 9.1% 15.3% 4.3% P16..4: 32.4% 16.3% 6.3% 0.8% 0.3% skip:15.2%
1: STDOUT: [libx264 @ 0x311d010]mb B I16..4: 4.4% 0.0% 0.0% B16..8: 38.1% 0.0% 0.0% direct:11.0% skip:46.4% L0:30.2% L1:51.5% BI:18.4%
1: STDOUT: [libx264 @ 0x311d010]final ratefactor: 21.17
1: STDOUT: [libx264 @ 0x311d010]8x8 transform intra:36.5% inter:31.5%
1: STDOUT: [libx264 @ 0x311d010]direct mvs spatial:100.0% temporal:0.0%
1: STDOUT: [libx264 @ 0x311d010]ref P L0 60.7% 23.6% 7.2% 4.0% 2.3% 2.3%
1: STDOUT: [libx264 @ 0x311d010]ref B L0 63.0% 22.6% 7.0% 4.9% 2.4%
1: STDOUT: [libx264 @ 0x311d010]ref B L1 89.9% 10.1%
1: STDOUT: [libx264 @ 0x311d010]SSIM Mean Y:0.9616937
1: STDOUT: [libx264 @ 0x311d010]kb/s:1015.9
1: INFO: Process exit code: 0
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Object reference not set to an instance of an object.
Scheduler Thread - Unexpected Error Occured: Object reference not set to an instance of an object. (System.NullReferenceException)
Error Type
NullReferenceException
Error Stack Trace
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at System.Collections.Generic.Dictionary`2.set_Item(TKey key, TValue value)
at IronPython.Runtime.Types.ComObject.AddType(Guid guid, Type type)
at IronPython.Runtime.TopReflectedPackage.LoadAssembly(SystemState state, Assembly assem, Boolean isInteropAssembly)
at IronPython.Modules.ClrModule.AddReference(Assembly assembly)
at IronPython.Modules.ClrModule.AddReferenceByName(String[] names)
at IronPython.Runtime.TopReflectedPackage.Initialize(SystemState state)
at IronPython.Runtime.Importer.ImportBuiltin(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportTopAbsolute(PythonModule mod, String name)
at IronPython.Runtime.Importer.ImportModule(ICallerContext context, String modName, Boolean bottom)
at IronPython.Hosting.EngineModule.Import(String moduleName)
at FranticX.Scripting.ScriptEngine..ctor()
at Deadline.Scripting.DeadlineScriptEngine..ctor(DeadlineController deadlineController)
at Deadline.Plugins.ScriptPlugin.GetNewScriptEngine()
at Deadline.Plugins.ScriptPlugin..ctor(String pluginName, DeadlineController deadlineController)
at Deadline.Plugins.Plugin..ctor(String name, String networkSourcePath, String slaveDestinationPath, Int32 threadId, DeadlineController deadlineController)
at Deadline.Controllers.DeadlineController.RequestPlugin(String pluginName, String slaveLocalPath, Int32 threadID)
at Deadline.Slaves.SlaveRenderThread.RequestPlugin(String pluginName, Boolean reloadPlugin)
at Deadline.Slaves.SlaveRenderThread.LoadPlugin()
at Deadline.Slaves.SlaveRenderThread.ThreadMain()