max running time
max running time
Heya,
Occasionally a renderer will spin up, begin the tessellation process, and just 'sit there' -- it isn't producing buckets, nor is the process terminating...
When this occurs that frame task will live forever locking up that resource until the frame is restarted, or the job is killed.
It would be useful to set a max time limit that one would expect the job to run, and restart frames that exceed that time threshold.
For example, if I'm expecting a render to weigh in at 10mpf, I set max time limit to 30mpf, and any zombie tasks get re-queued.
Thoughts?
G
Occasionally a renderer will spin up, begin the tessellation process, and just 'sit there' -- it isn't producing buckets, nor is the process terminating...
When this occurs that frame task will live forever locking up that resource until the frame is restarted, or the job is killed.
It would be useful to set a max time limit that one would expect the job to run, and restart frames that exceed that time threshold.
For example, if I'm expecting a render to weigh in at 10mpf, I set max time limit to 30mpf, and any zombie tasks get re-queued.
Thoughts?
G
--
Rocky Linux 8.5, cgru 3.2.1
Rocky Linux 8.5, cgru 3.2.1
Re: max running time
Hi!
There are task maximum run time and progress timeout parameters:
https://cgru.readthedocs.io/en/latest/a ... x-run-time
https://cgru.readthedocs.io/en/latest/a ... ge-timeout
You can set this parameters via Python API on job creation, or from GUI on existing job.
There are task maximum run time and progress timeout parameters:
https://cgru.readthedocs.io/en/latest/a ... x-run-time
https://cgru.readthedocs.io/en/latest/a ... ge-timeout
You can set this parameters via Python API on job creation, or from GUI on existing job.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: max running time
That's awesome Timur -- i'll be sure to RTFM next time!
G
G
--
Rocky Linux 8.5, cgru 3.2.1
Rocky Linux 8.5, cgru 3.2.1
Re: max running time
btw
I started to collect studios that using Afanasy:
https://cgru.info/
If you want, you can send me a studio site and logo, also you can give me permission to collect some materials from site.
I started to collect studios that using Afanasy:
https://cgru.info/
If you want, you can send me a studio site and logo, also you can give me permission to collect some materials from site.
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: max running time
Heya Timur,
Apologies for the late response. I had a few days off at the tail end of a project.
I'd be happy to help - Attached is the Artjail logo.
Let me know if there's anything else I can help with.
Best,
G
Apologies for the late response. I had a few days off at the tail end of a project.
I'd be happy to help - Attached is the Artjail logo.
Let me know if there's anything else I can help with.
Best,
G
- Attachments
-
- aj_logo.png (9.06 KiB) Viewed 13132 times
--
Rocky Linux 8.5, cgru 3.2.1
Rocky Linux 8.5, cgru 3.2.1
Re: max running time
Thank You!
And a site link, please, i know, i can find, but better to be accurate )
And a site link, please, i know, i can find, but better to be accurate )
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: max running time
Timur Hairulin
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
CGRU 3.3.1, Ubuntu 20.04, 22.04, MS Windows 10 (clients only).
Re: max running time
Heya Timur,
I've attempted to update my submit scripts with:
However, the block does not appear to error on any positive integer values [1..5] (I assume seconds as per the docs)...
Is there any indicator in the web gui that would show me that this parameter was in fact set? Other parms (such as host mask - see attachment) seem to be setting correctly, and are providing visual feedback.
G
I've attempted to update my submit scripts with:
Code: Select all
if (rs_override_maxruntime):
block.setTaskMaxRunTime(rs_maxruntime)
Is there any indicator in the web gui that would show me that this parameter was in fact set? Other parms (such as host mask - see attachment) seem to be setting correctly, and are providing visual feedback.
G
- Attachments
-
- Screenshot-20210208162302-392x122.png (10.66 KiB) Viewed 13116 times
--
Rocky Linux 8.5, cgru 3.2.1
Rocky Linux 8.5, cgru 3.2.1
Re: max running time
Ach.
I'm passing "1" as a string -- when I do it correctly, everything works as expected.
... I'll show myself out ...
G
I'm passing "1" as a string -- when I do it correctly, everything works as expected.
... I'll show myself out ...
G
--
Rocky Linux 8.5, cgru 3.2.1
Rocky Linux 8.5, cgru 3.2.1