소스 검색

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
Scott Dodson 7 년 전
부모
커밋
46d9ba942e
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      roles/openshift_node/templates/node.service.j2
  2. 1 0
      roles/openshift_node_upgrade/templates/node.service.j2

+ 1 - 0
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]

+ 1 - 0
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]