Redshift and RLM_QUEUE

We are running some houdini(19.5.569)-redshift(3.5.16) renders via deadline 10.2.1.1.
Has anyone here used RLM_QUEUE with houdini-redshift with any success?
I’m getting the following error on my job when it’s set:

2023-10-11 12:07:53: 0: STDOUT: [Redshift] RAISING EXCEPTION: License error: (RLM) In queue for license (-25)
2023-10-11 12:07:53: 0: STDOUT:
2023-10-11 12:07:53: 0: STDOUT: [Redshift] RAISING EXCEPTION: Writing Redshift crash dump to C:\Users\john.doe\AppData\Local\Temp\Redshift\20231011-150753-32852-26744.dmp
.....
.....

2023-10-11 12:08:16: 0: INFO: Process exit code: 0
2023-10-11 12:08:16: 0: INFO: Finished Houdini Job

The plugin also isn’t logging this standard out message as an error, and it’s setting the frame as “complete”.

Thanks,
-Jake

I can’t find any tickets or other forum threads mentioning RLM_QUEUE, so it looks like it’s not a common pick.

From the docs on it though it looks like you’d be better served setting up a license limit for Redshift so that the Redshift tasks only start when there’s a license available. This does assume that there’s nothing other than Deadline Workers pulling from that pool which isn’t always the case.

As for why the frames are getting marked ‘complete’ instead of an error is that for some reason the application is exiting with code 0, which indicates a successful run of a program. The other problem is we’re not looking for “License error:” instead we’re looking for “License error: No license found”, so this error isn’t triggering the failure.

I’ve attached a Houdini.py that should catch these messages and fail the task.

To install, make a copy of the DeadlineRepository10\plugins\Houdini directory into DeadlineRepository10\custom\plugins. Then take the attached file and put it into the DeadlineRepository10\custom\plugins\Houdini directory you’ve just made, replacing the existing Houdini.py.

If you have any issues with the new file you can delete the DeadlineRepository10\custom\plugins\Houdini directory to roll back to the old Houdini plugin.

Houdini.py (24.6 KB)

I am using a license limit, but unfortunately some of those lics are snagged by GUI users from time to time. I was hoping to use queueing to provide a bit of cushion to that situation. Will figure out some sort of saner distribution of licenses internally.

Thanks as well for the tweak to catch the license error.
Much appreciated.
-Jake

1 Like

A headsup to all you Redshift users.
Maxon support has told me that Redshift does not support the use of RLM_QUEUE.
-Jake

1 Like