Skip to content

Commit

Permalink
Set TimeoutStartSec=300
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sdodson committed Jul 25, 2017
1 parent 14fbd4a commit 46d9ba9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions roles/openshift_node/templates/node.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ WorkingDirectory=/var/lib/origin/
SyslogIdentifier={{ openshift.common.service_type }}-node
Restart=always
RestartSec=5s
TimeoutStartSec=300
OOMScoreAdjust=-999

[Install]
Expand Down
1 change: 1 addition & 0 deletions roles/openshift_node_upgrade/templates/node.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ WorkingDirectory=/var/lib/origin/
SyslogIdentifier={{ openshift.common.service_type }}-node
Restart=always
RestartSec=5s
TimeoutStartSec=300
OOMScoreAdjust=-999

[Install]
Expand Down

0 comments on commit 46d9ba9

Please sign in to comment.