Skip to content

docs: set KillMode=process on the dstack-vmm systemd unit#3463

Draft
barakeinav1 wants to merge 1 commit into
mainfrom
docs/dstack-vmm-killmode-process
Draft

docs: set KillMode=process on the dstack-vmm systemd unit#3463
barakeinav1 wants to merge 1 commit into
mainfrom
docs/dstack-vmm-killmode-process

Conversation

@barakeinav1
Copy link
Copy Markdown
Contributor

Closes #3462

Draft — do not merge until KillMode=process is verified on a test host to leave running CVMs alive and let the restarted daemon re-adopt them (see #3462 acceptance criteria).

Without KillMode=process the unit defaults to control-group, so restarting
dstack-vmm (e.g. needrestart after an unattended-upgrades run) SIGTERMs every
qemu CVM in the cgroup and takes all co-located nodes down at once. KillMode=process
stops only the daemon, leaving running CVMs alive across a daemon restart.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: set KillMode=process on the dstack-vmm systemd unit so a daemon restart doesn't kill all CVMs

1 participant