diff options
author | Scott Dodson <sdodson@redhat.com> | 2017-07-25 15:26:10 -0400 |
---|---|---|
committer | Scott Dodson <sdodson@redhat.com> | 2017-07-25 15:26:10 -0400 |
commit | 46d9ba942e49e4b6953dc8fa47e38d6ea98ec122 (patch) | |
tree | 8c655ca4301587989cf69aa5fd5055a42e7808c4 /roles | |
parent | 14fbd4a6b883a1080f7b57d1acd3a5240a92f39a (diff) | |
download | openshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.tar.gz openshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.tar.bz2 openshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.tar.xz openshift-46d9ba942e49e4b6953dc8fa47e38d6ea98ec122.zip |
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
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_node/templates/node.service.j2 | 1 | ||||
-rw-r--r-- | roles/openshift_node_upgrade/templates/node.service.j2 | 1 |
2 files changed, 2 insertions, 0 deletions
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] |