"Word too long" error on linux

Hello
occasionally I encounter the following error:
0: STDOUT: Word too long.
I have my own deadline plugin of type advanced. Inside RenderTasks() I start maya with RunManagedProcess(). Here’s more detailed output:

0: INFO: Render Executable: “/Apps/Maya/linux64/2011_SAP/bin/Render”
0: INFO: Render Argument: -r file -mr:art -s 484 -e 484 -proj //hal/Projects/SanGraal_2010_11/Maya //hal/Projects/SanGraal_2010_11/Maya/scenes/jgrobelny/sanGral_06_nparticle_200.ma
0: INFO: Startup Directory: “//hal/Projects/SanGraal_2010_11/Maya/scenes/jgrobelny”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: STDOUT: Starting “/Apps/Maya/linux64/2011_SAP/bin/maya”
0: STDOUT: Word too long.
0: STDOUT: // Maya exited with status 1
0: INFO: Process exit code: 1

I don’t even get usual maya output on stdout, it seems to die just after trying to launch.
I have no idead what this might be, any suggestions where to look for potential errors ?
This error does not come up on windows, only on linux rendernodes (CentOS 5.5)

Hi there,

One thing that stands out is the render arguments that are being passed to Render:

More specifically, the “-mr:art” part. Perhaps this is what is throwing Maya off.

Cheers,

  • Ryan

-mr:art is maya2011 flag for using all threads with mentalray. I use it all the time and it’s not source of problem :slight_smile:
Are there any additional slave logs I could look into? Or some debug mode to enable ?

OK, cool, I had just never seen that before. :slight_smile:

This may not make a difference, but have you tried something like this?

-r mr -art -s 484 -e 484 -proj //hal/Projects/SanGraal_2010_11/Maya //hal/.../sanGral_06_nparticle_200.ma

This explicitly tells Maya to render with mental ray, and you can still pass the -art flag as shown above. This is how Deadline does it. I’ve seen issues with using the -file option in the past, so I guess it’s worth a try.

I also did some googling on “word too long”, and it appears to be a error that is often seen on Linux when running scripts:
sunmanagers.org/pipermail/su … 00911.html
unix.ittoolbox.com/groups/techni … ong-707844
linuxquestions.org/questions … ve-311155/

There are some suggestions in those threads that may help you figure out the problem.

Cheers,

  • Ryan