Hybrid Mapping

Hi,
This is an error message which is shown while rendering both Maya & Fusion,only on some select renderfarms & I am not able to figure out the solution.Can u pls put some light into this error…The error message is as follows:

Error Message
HybridMapping is full

Slave Log

Exception.TargetSite: Int32 WeakAdd(T)

Exception.Source: IronPython

Exception.StackTrace:

at IronPython.Runtime.HybridMapping`1.WeakAdd(T value)

at IronPython.Runtime.PythonFile…ctor(Stream stream, Encoding encoding, String mode, Boolean weakMapping)

at IronPython.Runtime.PythonFile…ctor(Stream stream, Encoding encoding, String name, String mode, Boolean weakMapping)

at IronPython.Runtime.PythonFile…ctor(Stream stream, Encoding encoding, String name, String mode)

at IronPython.Runtime.SystemState.Initialize()

at IronPython.Hosting.PythonEngine.Initialize(EngineOptions engineOptions)

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 - >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Scheduler - WARNING: THE LIMIT GROUP “dfrnode” DOES NOT EXIST, RENDERING ANYWAYS.
Scheduler - <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Scheduler Thread - Plugin loaded in 0.12 seconds.
Constructor: Fusion
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - HybridMapping is full
Scheduler Thread - Unexpected Error Occured: HybridMapping is full (System.SystemException)

Error Type
SystemException

Looks like a known issue with IronPython:
lists.ironpython.com/pipermail/u … 06399.html

We’ll go through our code to see if there are areas where we aren’t “cleaning up” after ourselves. We’ll target this fix for the Deadline 3.1 release that is due out by the end of March.

Out of curiosity, what happens after this error occurs? Does the slave continue on to render more jobs, or does it need to be restarted?

Cheers,

  • Ryan

ya it does render afterwards… n thanks for the effort…

Hi Ryan,

I am getting a similar problem with a few machines in the build 35390. It occurs with OSX machines rendering nuke jobs.

Error log follows:
Error Message
HybridMapping is full

Slave Log
.PythonFileManager.AddToWeakMapping (IronPython.Runtime.PythonFile pf) [0x00000]
at IronPython.Runtime.PythonFile…ctor (System.IO.Stream stream, System.Text.Encoding encoding, System.String mode, Boolean weakMapping) [0x00000]
at IronPython.Runtime.PythonFile…ctor (System.IO.Stream stream, System.Text.Encoding encoding, System.String name, System.String mode, Boolean weakMapping) [0x00000]
at IronPython.Runtime.PythonFile…ctor (System.IO.Stream stream, System.Text.Encoding encoding, System.String name, System.String mode) [0x00000]
at IronPython.Runtime.SystemState.Initialize () [0x00000]
at IronPython.Runtime.SystemState…ctor (IronPython.Hosting.EngineOptions options) [0x00000]
at IronPython.Hosting.PythonEngine.Initialize (IronPython.Hosting.EngineOptions engineOptions) [0x00000]
at IronPython.Hosting.PythonEngine…ctor () [0x00000]
at FranticX.Scripting.ScriptEngine…ctor () [0x00000]
at Deadline.Scripting.DeadlineScriptEngine…ctor (Deadline.Controllers.DeadlineController deadlineController) [0x00000]
at Deadline.Plugins.ScriptPlugin.GetNewScriptEngine () [0x00000]
at Deadline.Plugins.ScriptPlugin…ctor (System.String pluginName, Deadline.Controllers.DeadlineController deadlineController) [0x00000]
at Deadline.Plugins.Plugin…ctor (System.String name, System.String networkSourcePath, System.String slaveDestinationPath, Int32 threadId, Deadline.Controllers.DeadlineController deadlineController) [0x00000]
at Deadline.Controllers.DeadlineController.RequestPlugin (System.String pluginName, System.String slaveLocalPath, Int32 threadID) [0x00000]
at Deadline.Slaves.SlaveRenderThread.RequestPlugin (System.String pluginName, Boolean reloadPlugin) [0x00000]
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Constructor: Nuke
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - HybridMapping is full
Scheduler Thread - Unexpected Error Occured: HybridMapping is full (System.SystemException)

Error Type
SystemException

Error Stack Trace
at IronPython.Runtime.HybridMapping`1[System.Object].WeakAdd (System.Object value) [0x00000]
at IronPython.Runtime.PythonFileManager.AddToWeakMapping (IronPython.Runtime.PythonFile pf) [0x00000]
at IronPython.Runtime.PythonFile…ctor (System.IO.Stream stream, System.Text.Encoding encoding, System.String mode, Boolean weakMapping) [0x00000]
at IronPython.Runtime.PythonFile…ctor (System.IO.Stream stream, System.Text.Encoding encoding, System.String name, System.String mode, Boolean weakMapping) [0x00000]
at IronPython.Runtime.PythonFile…ctor (System.IO.Stream stream, System.Text.Encoding encoding, System.String name, System.String mode) [0x00000]
at IronPython.Runtime.SystemState.Initialize () [0x00000]
at IronPython.Runtime.SystemState…ctor (IronPython.Hosting.EngineOptions options) [0x00000]
at IronPython.Hosting.PythonEngine.Initialize (IronPython.Hosting.EngineOptions engineOptions) [0x00000]
at IronPython.Hosting.PythonEngine…ctor () [0x00000]
at FranticX.Scripting.ScriptEngine…ctor () [0x00000]
at Deadline.Scripting.DeadlineScriptEngine…ctor (Deadline.Controllers.DeadlineController deadlineController) [0x00000]
at Deadline.Plugins.ScriptPlugin.GetNewScriptEngine () [0x00000]
at Deadline.Plugins.ScriptPlugin…ctor (System.String pluginName, Deadline.Controllers.DeadlineController deadlineController) [0x00000]
at Deadline.Plugins.Plugin…ctor (System.String name, System.String networkSourcePath, System.String slaveDestinationPath, Int32 threadId, Deadline.Controllers.DeadlineController deadlineController) [0x00000]
at Deadline.Controllers.DeadlineController.RequestPlugin (System.String pluginName, System.String slaveLocalPath, Int32 threadID) [0x00000]
at Deadline.Slaves.SlaveRenderThread.RequestPlugin (System.String pluginName, Boolean reloadPlugin) [0x00000]

Hi Adam,

Thanks for letting us know that this problem still exists. For the next major release, we might look at upgrading from IronPython 1.2 to 2.0, which could potentially solve this problem.

Just to confirm, does the slave continue to render normally after it reports this error (ie: the problem is just a periodic issue)?

Cheers,

  • Ryan

Nope. 2 of our macs just won’t render any nuke jobs through deadline.

So just to confirm, the problem is only occurring on two machines? Does the problem happen immediately after the slave is restarted, or does it happen after the slave has been running for a while? Also, are there any obvious hardware/configuration differences between the machines that the exhibit this problem and those that don’t (like OS version, Mono version, hardware specs, etc)?