Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Target Release15.0.0
JIRA Link

Jira Legacy
serverJIRA (pbspro.atlassian.net)
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId32008a99-7831-3ff8-9638-3db0cd01164d
keyPP-305

Document statusInitial Version
Document owner
Forum Discussion Linkhttp://community.pbspro.org/t/pp-305-if-server-dyn-res-script-does-not-return-scheduler-hangs/547

...

    • PBS will start polling from the time the server_dyn_res program/script starts executing and will wait for "server_dyn_res_alarm" time. After the timeout, the interaction with the script/program will end and the scheduler will log a timeout info message.
    • This timeout will be applicable for each server_dyn_res program/script.
    • On timeout, the value of the resource will be assumed to be "0" and scheduling cycle will continue normally.
    • If the alarm is set to 0, the scheduler will not timeout server_dyn_res scripts.


Interface 2: Log message for timeout of server_dyn_res program/script

  • Visibility: Scheduler log  message at PBSEVENT_SCHED, PBS_EVENTCLASS_SERVER, and syslog LOG_INFO
  • Change Control: Unstable
  • Details:
    • Once the timeout is reached a timeout info message is logged in the scheduler logs. Something like as follows :
      ... ...;0040;pbs_sched;Svr;server_dyn_res;program /bin/get_foo timed out


Interface 3: Log message for value of server_dyn_res on timeout

  • Visibility: Scheduler log  message at PBSEVENT_DEBUG, PBS_EVENTCLASS_SERVER, and syslog LOG_DEBUG
  • Change Control: Unstable
  • Details:
    • On timeout a debug message is logged in the scheduler logs for assuming the resource value as "0". Something like as follows :
      ... ...;0080;pbs_sched;Svr;server_dyn_res;/bin/get_foo = 0