From 46d9ba942e49e4b6953dc8fa47e38d6ea98ec122 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Tue, 25 Jul 2017 15:26:10 -0400 Subject: Set TimeoutStartSec=300 On nodes with thousands of services it may take a very long time to establish all of the network routing rules. The longest we've seen is about 180s --- roles/openshift_node/templates/node.service.j2 | 1 + roles/openshift_node_upgrade/templates/node.service.j2 | 1 + 2 files changed, 2 insertions(+) (limited to 'roles') diff --git a/roles/openshift_node/templates/node.service.j2 b/roles/openshift_node/templates/node.service.j2 index d4f0b7762..e12a52c15 100644 --- a/roles/openshift_node/templates/node.service.j2 +++ b/roles/openshift_node/templates/node.service.j2 @@ -24,6 +24,7 @@ WorkingDirectory=/var/lib/origin/ SyslogIdentifier={{ openshift.common.service_type }}-node Restart=always RestartSec=5s +TimeoutStartSec=300 OOMScoreAdjust=-999 [Install] diff --git a/roles/openshift_node_upgrade/templates/node.service.j2 b/roles/openshift_node_upgrade/templates/node.service.j2 index d4f0b7762..e12a52c15 100644 --- a/roles/openshift_node_upgrade/templates/node.service.j2 +++ b/roles/openshift_node_upgrade/templates/node.service.j2 @@ -24,6 +24,7 @@ WorkingDirectory=/var/lib/origin/ SyslogIdentifier={{ openshift.common.service_type }}-node Restart=always RestartSec=5s +TimeoutStartSec=300 OOMScoreAdjust=-999 [Install] -- cgit v1.2.3