forked from cloudfoundry/docs-deploying-cf
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmax-container-starts.html.md.erb
More file actions
23 lines (17 loc) · 1.49 KB
/
max-container-starts.html.md.erb
File metadata and controls
23 lines (17 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
title: Setting a Maximum Number of Instance Starts
owner: Diego
---
<strong><%= modified_date %></strong>
Use the auctioneer component to set the maximum number of app instances running at a given time. A lower default can prevent server overload, which may be important if you're using a small server. If you're using a cloud-based IaaS, rather than a smaller on-premise solution, Cloud Foundry recommends leaving the default at 0.
The auctioneer only schedules a fixed number of app instances to start at one time. This limit applies to both single and multiple Diego Cells. For example, if you set the limit to five started instances, it does not matter if you have one Diego Cell with ten instances or five Diego Cells with two instances each. The auctioneer will not allow more than five instances to start at the same time.
You can configure the maximum number of started instances by changing the `diego.auctioneer.starting_container_count_maximum` property in the Diego manifest.
<ol>
<li>Open the Diego manifest in a text editor.</li>
<li>Find the <pre>diego.auctioneer.starting_container_count_maximum</pre> property.</li>
<li>Type the maximum number of instances the auctioneer should allow to start.</li>
<li>Save the changes and redeploy BOSH.</li>
</ol>
<p class="terminal">diego.auctioneer.starting_container_count_maximum:<br/>
description: "Maximum number of inflight container starts allowed globally. Value of 0 or less indicates no limit."<br/>
default: Your-numerical-value-here</p>