Timed out waiting for 3ds max to start

Below is an odd error that we are seeing on a regular basis. The time out is set to 1000.

=======================================================
Error

Error in StartJob: 3dsmax startup: Timed out waiting for 3ds max to start - consider increasing the LoadMaxTimeout in the 3dsmax plugin configuration

at Deadline.Plugins.ScriptPlugin.StartJob(Job job, String& outMessage, AbortLevel& abortLevel)

=======================================================
Type

RenderPluginException

=======================================================
Stack Trace

at Deadline.Plugins.Plugin.StartJob(Job job)
at Deadline.Slaves.SlaveRenderThread.a(TaskLogWriter A_0)

=======================================================
Full Log

0: Task timeout is 24503 seconds (Auto Task Timeout)
0: Loaded job: 03_Excalibur-S_Comparison_Product-Shot_Rectangles_v01_cs (51e4f465b2704225bcb69ba0)
0: INFO: Executing plugin script C:\Users\1069676-adm\AppData\Local\Thinkbox\Deadline6\slave\TTUC-3D74\plugins\3dsmax.py
0: INFO: About: 3dsmax Plugin for Deadline
0: INFO: The current environment will be used for rendering
0: INFO: Start Job called - starting up 3dsmax plugin
0: INFO: Rendering with 3dsmax version: 2013
0: INFO: Build of 3dsmax to force: 64bit
0: INFO: Rendering with executable: C:\Program Files\Autodesk\3ds Max 2013\3dsmax.exe
0: INFO: Checking registry for 3dsmax language code
0: INFO: Language code string: ENU
0: INFO: Language sub directory: en-US
0: INFO: Fail on existing 3dsmax process: 0
0: INFO: Load 3dsmax timeout: 1000 seconds
0: INFO: Start job timeout: 1000 seconds
0: INFO: Progress update timeout: 8000 seconds
0: INFO: Progress update timout disabled: 0
0: INFO: Slave mode enabled: 1
0: INFO: Silent mode enabled: 0
0: INFO: Local rendering enabled: 1
0: INFO: Running render sanity check using 3dsmaxcmd.exe
0: INFO: 3dsmaxcmd.exe returned: 7/16/2013 11:07:22 AM; Error opening scene file: “C:\Program Files\Autodesk\3ds Max 2013”
0: INFO: 3dsmax start up file: C:\Users\1069676-adm\AppData\Local\Thinkbox\Deadline6\slave\TTUC-3D74\plugins\deadlineStartupMax2013.max
0: INFO: Using user profiles: 1
0: INFO: 3dsmax user profile path: C:\Users\1069676-adm\AppData\Local\Autodesk\3dsmax\2013 - 64bit\ENU
0: INFO: 3dsmax data path: C:\Users\1069676-adm\AppData\Local\Autodesk\3dsMax\2013 - 64bit\ENU
0: INFO: 3dsmax ini file: C:\Users\1069676-adm\AppData\Local\Autodesk\3dsmax\2013 - 64bit\ENU\3dsmax.ini
0: INFO: Network log file: C:\Users\1069676-adm\AppData\Local\Autodesk\3dsmax\2013 - 64bit\ENU\Network\Max.log
0: INFO: Plugin ini file: C:\Program Files\Autodesk\3ds Max 2013\en-US\plugin.ini
0: INFO: Including user profile plugin ini: C:\Users\1069676-adm\AppData\Local\Autodesk\3dsMax\2013 - 64bit\ENU\Plugin.UserSettings.ini
0: INFO: Lightning connection plugin: C:\Users\1069676-adm\AppData\Local\Thinkbox\Deadline6\slave\TTUC-3D74\plugins\lightning64Max2013.dlx
0: INFO: 3dsmax socket connection port: 58552
0: INFO: Setting up startup environment
0: INFO: Copying C:\Users\1069676-adm\AppData\Local\Thinkbox\Deadline6\slave\TTUC-3D74\plugins\lightning64Max2013.dlx to C:\Users\1069676-adm\AppData\Local\Thinkbox\Deadline6\temp\lightning\lightning.dlx
0: INFO: Starting monitored managed process 3dsmaxProcess
0: INFO: Stdout Handling Enabled: False
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\Program Files\Autodesk\3ds Max 2013\3dsmax.exe”
0: INFO: Render Argument: -p “C:\Users\106967~1\AppData\Local\Temp\dl.ini” -q -s “C:\Users\1069676-adm\AppData\Local\Thinkbox\Deadline6\slave\TTUC-3D74\plugins\deadlineStartupMax2013.max”
0: INFO: Startup Directory: “C:\Program Files\Autodesk\3ds Max 2013”
0: INFO: Process Priority: BelowNormal
0: INFO: Process Affinity: default
0: INFO: Process is now running
0: INFO: Waiting for connection from 3dsmax
0: STDOUT: - 11:07:26.000 INFO: Begin setting up global configuration
0: STDOUT: - 11:07:26.062 INFO: Begin resolve assembly 'Autodesk.Max.Wrappers.XmlSerializers, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null- 11:07:26.062 INFO: Cannot resolve assembly
0: STDOUT: - 11:07:26.062 INFO: Begin resolve assembly 'Autodesk.Max.Wrappers.XmlSerializers- 11:07:26.062 INFO: Cannot resolve assembly
0: STDOUT: - 11:07:27.327 INFO: Begin resolve assembly 'Autodesk.Max.Wrappers, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null- 11:07:27.327 INFO: Resolving current assembly
0: STDOUT: - 11:07:27.343 INFO: End setting up global configuration
0: STDOUT: - 11:07:27.343 INFO: Begin initialize system watcher to detect file changes
0: STDOUT: - 11:07:27.343 INFO: End initialize system watcher to detect file changes
0: STDOUT: - 11:07:27.343 INFO: Begin loading assemblies
0: STDOUT: - 11:07:27.358 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\Autodesk.Max.StateSets.dll- 11:07:27.374 INFO: Begin loading assembly file
0: STDOUT: - 11:07:27.374 INFO: End loading assembly file
0: STDOUT: - 11:07:27.374 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:27.452 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:27.452 INFO: Discovered IPlugin-derived type 'Plugin- 11:07:27.468 INFO: Begin resolve assembly 'Autodesk.Max.StateSets.XmlSerializers, Version=15.2.0.37638, Culture=neutral, PublicKeyToken=null- 11:07:27.468 INFO: Cannot resolve assembly
0: STDOUT: - 11:07:27.468 INFO: Begin resolve assembly 'Autodesk.Max.StateSets.XmlSerializers- 11:07:27.468 INFO: Cannot resolve assembly
0: STDOUT: - 11:07:27.686 INFO: Begin resolve assembly 'Autodesk.Max.StateSets, Version=15.2.0.37638, Culture=neutral, PublicKeyToken=null- 11:07:27.686 INFO: Cannot resolve assembly
0: STDOUT: - 11:07:27.170 INFO: Created instance of type
0: STDOUT: - 11:07:27.170 INFO: Adding as startup/static plugin
0: STDOUT: - 11:07:27.170 INFO: Discovered IPlugin-derived type 'Plugin- 11:07:27.170 INFO: Created instance of type
0: STDOUT: - 11:07:27.170 INFO: Adding as startup/static plugin
0: STDOUT: - 11:07:27.185 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:27.185 INFO: End loading assembly
0: STDOUT: - 11:07:27.185 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\Autodesk.Max.Wrappers.dll- 11:07:27.185 INFO: Begin loading assembly file
0: STDOUT: - 11:07:27.185 INFO: End loading assembly file
0: STDOUT: - 11:07:27.185 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.248 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.294 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.294 INFO: End loading assembly
0: STDOUT: - 11:07:28.294 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\DaylightSimulation.dll- 11:07:28.294 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.294 INFO: End loading assembly file
0: STDOUT: - 11:07:28.294 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.326 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.326 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.326 INFO: End loading assembly
0: STDOUT: - 11:07:28.326 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\FPMaxWpfContent.dll- 11:07:28.326 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.326 INFO: End loading assembly file
0: STDOUT: - 11:07:28.326 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.326 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.326 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.326 INFO: End loading assembly
0: STDOUT: - 11:07:28.326 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\ManagedBootstrap.dll- 11:07:28.326 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.326 INFO: End loading assembly file
0: STDOUT: - 11:07:28.326 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.341 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.341 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.341 INFO: End loading assembly
0: STDOUT: - 11:07:28.341 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\ManagedNetworkUtilities.dll- 11:07:28.341 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.341 INFO: End loading assembly file
0: STDOUT: - 11:07:28.341 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.341 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.341 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.341 INFO: End loading assembly
0: STDOUT: - 11:07:28.341 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\MaterialExplorerView.dll- 11:07:28.341 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.341 INFO: End loading assembly file
0: STDOUT: - 11:07:28.341 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.341 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.341 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.341 INFO: End loading assembly
0: STDOUT: - 11:07:28.341 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\MaxWpfContent.dll- 11:07:28.341 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.341 INFO: End loading assembly file
0: STDOUT: - 11:07:28.341 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.404 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.404 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.404 INFO: End loading assembly
0: STDOUT: - 11:07:28.404 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\nunit.framework.dll- 11:07:28.404 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.404 INFO: End loading assembly file
0: STDOUT: - 11:07:28.404 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.404 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.404 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.404 INFO: End loading assembly
0: STDOUT: - 11:07:28.404 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\SceneExplorerView.dll- 11:07:28.404 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.404 INFO: End loading assembly file
0: STDOUT: - 11:07:28.404 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.435 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.435 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.435 INFO: End loading assembly
0: STDOUT: - 11:07:28.435 INFO: Begin loading assembly 'C:\Program Files\Autodesk\3ds Max 2013\bin\assemblies\Sunlight.dll- 11:07:28.450 INFO: Begin loading assembly file
0: STDOUT: - 11:07:28.450 INFO: End loading assembly file
0: STDOUT: - 11:07:28.450 INFO: Begin discovering pluggable types in assembly
0: STDOUT: - 11:07:28.450 INFO: Retrieved a list of types, processing
0: STDOUT: - 11:07:28.450 INFO: End discovering pluggable types in assembly
0: STDOUT: - 11:07:28.450 INFO: End loading assembly
0: STDOUT: - 11:07:28.450 INFO: End loading assemblies
0: STDOUT: - 11:07:28.450 INFO: Begin registering loaded plugins
0: STDOUT: - 11:07:28.497 INFO: End registering loaded plugins

=======================================================
Details

Date: 07/16/2013 11:34:31
Frames: 382
Elapsed Time: 00:00:20:55
Job Submit Date: 07/16/2013 00:27:27
Job User: csmitty
Average RAM Usage: 7304646144 (43%)
Peak RAM Usage: 7483981824 (44%)
Average CPU Usage: 20%
Peak CPU Usage: 37%
Slave Name: TTUC-3D74
Slave Version: v6.0.0.51561 R

Does this error happen on specific machines, or is it random across the entire farm. Does the problem still happen if you bump up the timeout to 2000? Another thing to check is that you have all the max updates applied for this version of max.

Cheers,

  • Ryan

What renderer are you using?

I bumped it up to 10000 and it went away, perhaps just really big files taking forever to load?

we are running MAX 2013 PU6
Mental ray renderer.

Yeah, that’s likely the problem. Glad to hear that bumping this up resolved the issue.

Cheers,

  • Ryan