What kind of Error is this and How can I fix it?

Hi Guys… This is the error that apparently has my slave running for about 30 minutes, then shuts down automatically:

Error Message
Exception during render: An error occurred in RenderTasks(): RenderFrame: Exception caught in 3ds max: simple_socket::receive: Invalid packet size (given 1382379108)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Slave Log
ss 1 of 2… [00:00:01.5] [00:00:03.2 est]
0: INFO: Prepass 1 of 2…: done [00:00:01.8]
0: INFO: Prepass 2 of 2…
0: INFO: Prepass 2 of 2… [00:00:00.6] [00:00:05.4 est]
0: INFO: Prepass 2 of 2… [00:00:01.0] [00:00:06.2 est]
0: INFO: Prepass 2 of 2… [00:00:01.7] [00:00:06.5 est]
0: INFO: Prepass 2 of 2… [00:00:02.1] [00:00:06.5 est]
0: INFO: Prepass 2 of 2… [00:00:02.5] [00:00:06.6 est]
0: INFO: Prepass 2 of 2… [00:00:03.2] [00:00:05.4 est]
0: INFO: Prepass 2 of 2… [00:00:03.6] [00:00:03.7 est]
0: INFO: Prepass 2 of 2…: done [00:00:03.7]
LICENSE-FREE MODE: Repository has two slaves including this one - no license required.
---- January 29 2010 – 05:25 AM ----
LICENSE-FREE MODE: Repository has two slaves including this one - no license required.
LICENSE-FREE MODE: Repository has two slaves including this one - no license required.
---- January 29 2010 – 05:26 AM ----
LICENSE-FREE MODE: Repository has two slaves including this one - no license required.
LICENSE-FREE MODE: Repository has two slaves including this one - no license required.
0: INFO: Lightning: CallCurRendererRenderFrame returned code 1
0: INFO: Lightning: Render done
0: INFO: Lightning: writing output to temp file: C:\Users\COREYA~1.BUR\AppData\Local\Temp\shot4_fg0130.tga
0: INFO: Lightning: Saved image to \DESKTOPEPICS\DeadlineRepository\jobs\shot4_fg0130.tga
0: INFO: Lightning: Checking render elements
0: Task timeout is disabled.
0: Plugin rendering frame(s): 132
LICENSE-FREE MODE: Repository has two slaves including this one - no license required.
0: INFO: Render Tasks called
---- January 29 2010 – 05:27 AM ----
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): RenderFrame: Exception caught in 3ds max: simple_socket::receive: Invalid packet size (given 1382379108)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Error Type
RenderPluginException

Error Stack Trace
at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

I’m using an XP system and a Windows 7 …both using Vray 1.50, Max 9. The windows 7 slave ALWAYS shuts down if I leave it alone for over 30 minutes or so.

Any advise?

Corey

Hi Corey,

This error would indicate that there was a communication error between 3dsmax and Deadline during rendering, which could be caused by max being closed by something/someone else, or crashing. When you say the slave “shuts down”, are you referring to just the Deadline Slave application, or is the actual machine shutting down?

I’ve read that beta or RC versions of Windows 7 can start shutting down the machine automatically. Is it possible that this is what you’re running into? If so, the Deadline error would just be a by-product of the machine being shutdown (as opposed to the error causing the machine to shutdown). What happens if you leave the machine alone for a while without even running Deadline?

Cheers,

  • Ryan

Hi Ryan,

Thanks for responding.

Just the slave shuts down and it’s onlyon the windows 7 machine. It could render beautifully for a number of frames or, just about 30-60 minutes of time … then when I turn around, the slave will be off, but the windows and machine will still be operational. The second slave (on windows XP) will keep chugging along, rendering peacefully.

For the life of me, I just dont know why this happens. I tried switching which system had the repository, but that didnt matter.

Any advice?

Corey

Hi Corey,

Thanks for clarifying. Also, I forgot to ask, which version of Deadline are you using? Deadline 4.0 was recently released, so if you’re using a previous version, can you upgrade to 4.0 and let us know if the problem persists? You can download 4.0 from here:
software.primefocusworld.com/sof … /download/

If you’re experiencing this problem version 4.0, then let it happen again. After the slave closes, right-click on the Deadline Launcher application in the system tray and select Explore Log Folder. Find the most recent slave log and post it here. This log should be from the slave session that just closed, and should hopefully contain some information to explain why it’s closing.

Thanks!

  • Ryan

I’ve just started getting this error on a few of our most recent jobs. We’re using Deadline 4 and rendering through 3ds max. This is the message I get:

Error Message
Exception during render: An error occurred in RenderTasks(): RenderFrame: Exception caught in 3ds max: simple_socket::receive: Invalid packet size (given 1382379108)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

It seems to happen on random jobs at random times. I can’t see any kind of link.

It looks like some corruption is occurring in the socket connection between 3dmsax and Deadline. It could be that 3dsmax is crashing while rendering, thus corrupting the socket connection, but it’s hard to say for sure.

I wonder what it is about these particular jobs that makes this occur. Are these heavy scene files that use up a lot of RAM? The error viewer in the Monitor will show the memory usage at the time the error occurred.

Cheers,

  • Ryan

Hi Ryan,

We’re still getting this error and we’re now a few versions of Deadline on from last time…

=======================================================
Error Message

Exception during render: An error occurred in RenderTasks(): RenderFrame: Exception caught in 3ds max: simple_socket::receive: Invalid packet size (given 1382379108)
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

=======================================================
Slave Log

0: Task timeout is disabled.
0: Plugin rendering frame(s): 1201
0: INFO: Render Tasks called

=======================================================
Error Type

RenderPluginException

=======================================================
Error Stack Trace

at Deadline.Plugins.Plugin.RenderTask(Int32 startFrame, Int32 endFrame)
at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask(TaskLogWriter tlw)

This error seems to be random though. It will happen on different machines, at different frame times, after using different amounts of RAM, and after rendering for different amounts of time. I can’t seem to find a common link between when it happens. The odd error on a 4000 frame animation isn’t a big deal, but when my Irradiance and Light Cache pre-passes error, it means they will have to be restarted from scratch, and therefore losing hours of render time.

We’ve recently upgraded our render machines to Windows 7 with fresh installs of all software and plugins, plus bumped them all up to 16GB RAM, so the machines are totally clean and should render fine.

Anyone else getting this error?

Mark

Hi,
I would do the following to help eliminate this problem, which I believe is down to too much network traffic:

  1. Set all your 3dsMax jobs to render “locally” and then save the rendered images back to the server. This will reduce some traffic on your rendered images file server.
  2. Upgrade the network connection on your Deadline repository server. What connection does it presently have? A single 1gb NIC? The price of 2 or even 4 port GB cards is pretty reasonable these days…
    Mike

Mike had some good suggestions - i would also ask if you are running 'Pulse"?

thinkboxsoftware.com/deadline-5-pulse/

cb