Skip to content

Commit a7b550d

Browse files
committed
flux-config-exec(5): add sdexec-stop-timer stuff
Problem: the sdexec-stop-timer config options are undocumented. Add sdexec-stop-timer-signal and sdexec-stop-timer-sec options to the flux-config-exec(5) man page.
1 parent 058387d commit a7b550d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/man5/flux-config-exec.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,21 @@ sdexec-properties
3838
(optional) A table of systemd properties to set for all jobs. All values
3939
must be strings. See :ref:`sdexec_properties` below.
4040

41+
sdexec-stop-timer-sec
42+
(optional) Configure the length of time in seconds after a unit enters
43+
deactivating state when it will be sent the sdexec-stop-timer-signal.
44+
Deactivating state is entered by ``imp-shell`` units when the
45+
:man1:`flux-shell` terminates. The unit may remain there as long as
46+
user processes remain in the unit's cgroup.
47+
48+
After the same length of time, if the unit hasn't terminated, for example
49+
due to unkillable processes, the unit is abandoned and the node is drained.
50+
Default 30.
51+
52+
sdexec-stop-timer-signal
53+
(optional) Configure the signal used by the stop timer. By default,
54+
10 (SIGUSR1, the IMP proxy for SIGKILL) is used.
55+
4156
kill-timeout
4257
(optional) The amount of time in FSD to wait after ``SIGTERM`` is
4358
sent to a job before sending ``SIGKILL``. The default is "5s". See

0 commit comments

Comments
 (0)