From: Dado Feigenblatt <dado@(email surpressed)> Subject: -licpause Date: Wed, 25 Apr 2007 19:00:27 -0400 |
Msg# 1533 View Complete Thread (3 articles) | All Threads Last Next |
Hi Greg, I can't get -licpause to work.In irush, when I click <edit job> I see that every job has 1 minute for licpause by default, but my jobs keep dying. I'm using mentalray for maya. I don't speak perl, but the problem seems to be in submit_maya.pl. In the log files I see the messages where RenderMaya() caught the error: --- LICENSE ERROR: Encountered: Error: (Mayatomr) : could not get a license Right after the function exits with error code 1.However, that exit code is not handled by the calling function MAIN_Render() and the execution falls through the regular retries and eventually fails. Am I reading that right?Also, is there a way to set the licpause interval at submission time instead of having to edit the jobs in irush? I can't find that on the forms. Adding "-licpause 00:05:00" to submit options returns an error. Thanks, Dado Feigenblatt |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: -licpause Date: Wed, 25 Apr 2007 20:11:03 -0400 |
Msg# 1534 View Complete Thread (3 articles) | All Threads Last Next |
Dado Feigenblatt wrote: I can't get -licpause to work.In irush, when I click <edit job> I see that every job has 1 minute for licpause by default, but my jobs keep dying. The "Lic Pause Secs" setting in "Job Edit" is only effective when the script invokes the command 'rush -licpause <YOUR_JOBID>' to pause the job. Then the "Lic Pause Secs" becomes active, determining how long the job stays paused, then requeues itself. --- LICENSE ERROR: Encountered: Error: (Mayatomr) : could not get a license Right after the function exits with error code 1. Yes, it looks like the script is not using 'rush -licpause' at all, it is just going into a 'try three times' loop, and then does whatever the "Retry Behavior" is set to. I need to add an option for how license errors are handled, so you can change the behavior between using licpause or not. I'll follow up here with a pointer to the modified script, which I'll make sure gets in the next release. Also, is there a way to set the licpause interval at submission time instead of having to edit the jobs in irush? I can't find that on the forms. Adding "-licpause 00:05:00" to submit options returns an error. The correct syntax is to specify the command without the leading dash, eg: ______________________________.. | Submit Options: | licpausesecs 00:05:00 |______________________________.. Any of the 'Submit Commands' documented here can be put in that field: http://www.seriss.com/rush-current/rush/rush-submit-cmds.html#Submit%20Command%20Reference These commands are passed at the time the job is submitted. The rush command line options are different; they all start with a '-' prefix and are used to change a job that's already running. eg. 'rush -dump', 'rush -licpausesecs 00:05:00', 'rush -licpause', etc. Those are all documented here: http://www.seriss.com/rush-current/rush/rush-command-line-options.html You might be confusing these two functions: rush -licpausesecs 00:05:00 -- sets the timeout to 5 mins (does not pause the job) rush -licpause -- actually pauses the job -- Greg Ercolano, erco@(email surpressed) Rush Render Queue, http://seriss.com/rush/ Tel: (Tel# suppressed) Fax: (Tel# suppressed) Cel: (Tel# suppressed) |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: -licpause Date: Fri, 27 Apr 2007 15:07:03 -0400 |
Msg# 1535 View Complete Thread (3 articles) | All Threads Last Next |
Greg Ercolano wrote: Dado Feigenblatt wrote:--- LICENSE ERROR: Encountered: Error: (Mayatomr) : could not get a licenseRight after the function exits with error code 1.Yes, it looks like the script is not using 'rush -licpause' at all, it is just going into a 'try three times' loop, and then does whatever the "Retry Behavior" is set to. I need to add an option for how license errors are handled, so you can change the behavior between using licpause or not. I'll follow up here with a pointer to the modified script, which I'll make sure gets in the next release. Hi Dado, Here we go; I made a few mods to submit-maya.pl from 102.42a8 which adds the 'License Pause' feature: http://seriss.com/rush/releases/patches-for-102.42a8/submit-maya-with-licpause.zip (** That page is password protected; see below) That zip file contains a modified version of the stock submit-maya.pl script from Rush 102.42a8, and a submit-maya.html help file that documents the new prompt that lets you control what happens when a license error is detected. (Put the submit-maya.pl in the rushscritps directory on your server, and put the submit-maya.html in the 'help/' subdirectory) This modified script has the new "License Behavior:" prompt that lets you control whether to retry the frame, or fail it. To see it, click on the 'Rush' tab in the submit form, and scroll down to the very bottom. If you've installed the .html file correctly, when you click on the "?" button, you should see the following help info: ************************************************************************* License Behavior Controls what happens to the frame if a license error is detected. Examples Fail - The frame is marked 'Fail'. Licpause+Requeue - The job is put into a temporary pause state to prevent new frames from starting (and issuing a license error), and the frame is requeued. When the delay expires, the job will attempt to start new frames running again. ************************************************************************* Let me know if you have any questions. PASSWORD PROTECTED PAGE ----------------------- The above link is password protected; all Rush customers can access it by using your company's "Rush Downloads" password. If your Rush support contact doesn't know what it is, contact me directly via email from your company's email account (not here on the group), and I can supply it to you. Your rush support contacts may be cc'ed on that email. |