...
- Visibility: Public
- Change Control: Stable
- Details:
- A new server attribute “res_releasedrestrict_resc_to_release_on_susp” can be used to specify a list of comma separated list of resource names that can be release when a job is suspended.
- This server attribute is of type “array_string” and can only be set by a manager.
- If a manager is trying to set the attribute with a resource which is non existent then following error will be thrown on the console by qmgr command -
# qmgr -c "s s res_releasedrestrict_resc_to_release_on_susp = ‘ncpus, abcd'"
...
- If unset, after suspending the job PBS will release all the consumable resources requested by the job.
- By default this attribute is unset.
- PBS manager can also add/remove resources to/from "res_releasedrestrict_resc_to_release_on_susp" attribute by using "+="/"-=" operators.
- The resources specified in this new server attribute will be released (provided job has requested for them) every time a job is suspended (by preemption or qsig).
...
•It stores a string that depicts the amount of resources that are released on each chunk that the job was running on (provided these resources are also part of “res_released“restrict_resc_to_release_on_susp” string). The format of the string is similar to that of exec_vnode
...
•This job attribute is populated at the time of job suspension only if “res_releasedrestrict_resc_to_release_on_susp” server attribute is set and has a list of legitimate resources to be released.
...
•It stores the cumulative value of all the consumable resources requested by the job (provided these resources are also part of “res_released“restrict_resc_to_release_on_susp” string).
using example in interface 2: qstat -f 1 | grep resource_released_list
...
•This job attribute is populated only if “res_releasedrestrict_resc_to_release_on_susp” server attribute is set and has a list of legitimate resources to be released.
...
- Visibility: Public
- Change Control: Stable
- Details:
- If an admin tries to delete a custom resource that is part of the res_releasedrestrict_resc_to_release_on_susp server attribute then qmgr command will fail with “resource busy” error code.
...