Change in vdsm[master]: systemd: set KillMode to process for vdsmd
sbonazzo at redhat.com
sbonazzo at redhat.com
Thu Apr 23 13:58:42 UTC 2015
Sandro Bonazzola has uploaded a new change for review.
Change subject: systemd: set KillMode to process for vdsmd
......................................................................
systemd: set KillMode to process for vdsmd
When using gluster as file system, glusterfs process
is spawned by mount command within the same cgroup
used by vdsmd:
└─system.slice
├─supervdsmd.service
│ └─22370 /usr/bin/python /usr/share/vdsm/supervdsmServer...
├─vdsmd.service
│ ├─22483 /usr/bin/python /usr/share/vdsm/vdsm
│ ├─22777 /usr/sbin/glusterfs --volfile-server=...
│ ├─22789 /usr/libexec/ioprocess ...
│ ├─22799 /usr/libexec/ioprocess ...
│ └─22822 /usr/libexec/ioprocess ...
Using default killmode which is control-group, will kill also
glusterfs process making the storage domain unreachable.
Moving the killmode to process allow to nicely kill vdsm and ioprocess
keeping glusterfs alive:
└─system.slice
├─supervdsmd.service
│ └─22370 /usr/bin/python /usr/share/vdsm/supervdsmServer...
├─vdsmd.service
│ └─22777 /usr/sbin/glusterfs --volfile-server=...
Change-Id: Ifc0d7a6db7c59bbddbcd2a7dff8e2379802f51f5
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
---
M init/systemd/vdsmd.service.in
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/83/40183/1
diff --git a/init/systemd/vdsmd.service.in b/init/systemd/vdsmd.service.in
index 5ff3e56..598003b 100644
--- a/init/systemd/vdsmd.service.in
+++ b/init/systemd/vdsmd.service.in
@@ -20,6 +20,7 @@
Group=@VDSMGROUP@
PermissionsStartOnly=true
TimeoutStopSec=@SERVICE_STOP_TIMEOUT@
+KillMode=process
[Install]
WantedBy=multi-user.target
--
To view, visit https://gerrit.ovirt.org/40183
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifc0d7a6db7c59bbddbcd2a7dff8e2379802f51f5
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <sbonazzo at redhat.com>
More information about the vdsm-patches
mailing list