Skip to content
Snippets Groups Projects
Commit eaa33e31 authored by Mark Grondona's avatar Mark Grondona
Browse files

o Need to wait kill_wait + 2 seconds for slurmd reply to kill job request

   instead of just kill_wait seconds because slurmd sleeps for kill_wait
   seconds, so therefore slurmctld would never recv a reply.
parent a7a25e39
No related branches found
No related tags found
No related merge requests found
......@@ -496,7 +496,8 @@ static void *_thread_per_node_rpc(void *args)
msg.data = task_ptr->msg_args_ptr;
if (task_ptr->msg_type == REQUEST_KILL_TIMELIMIT)
timeout = slurmctld_conf.kill_wait;
timeout = slurmctld_conf.kill_wait + 2; /* 2 extra seconds
for slurmd reply */
if (slurm_send_recv_rc_msg(&msg, &rc, timeout) < 0) {
error("agent: %s: %m", thread_ptr->node_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment