Yaniv Bronhaim has submitted this change and it was merged.

Change subject: init: Normalize shutdown timeout
......................................................................


init: Normalize shutdown timeout

On sysvinit, vdsm was killed 2 seconds after receiving a SIGTERM.
Currently clientIF check if shutdown is started only once every 3
seconds. This make it impossible to write profile data when vdsm is
terminated. On systemd, since no timeout was defined, the default 90
seconds timeout was used. On upstart, the default 5 seconds was used.

This patch normalizes the shutdown timeout to 10 seconds on all
platforms. This seems to be enough for saving profile data and
performing clean shutdown.

Change-Id: I5434caff5bc95e2a76345191dec9ce4e33070a57
Signed-off-by: Nir Soffer <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/26111
Reviewed-by: Dan Kenigsberg <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/29674
---
M configure.ac
M init/systemd/vdsmd.service.in
M init/sysvinit/vdsmd.init.in
M init/upstart/vdsmd.upstart.in
4 files changed, 6 insertions(+), 1 deletion(-)

Approvals:
  Nir Soffer: Verified; Looks good to me, but someone else must approve
  Dan Kenigsberg: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/29674
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I5434caff5bc95e2a76345191dec9ce4e33070a57
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.4
Gerrit-Owner: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Nir Soffer <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to