|
29 | 29 | <h3 class="box-title">Resource Management</h3> |
30 | 30 | </div> |
31 | 31 | <div class="box-body"> |
| 32 | + <div class="form-group"> |
| 33 | + <label for="cpu" class="control-label">CPU Limit</label> |
| 34 | + <div class="input-group"> |
| 35 | + <input type="text" name="cpu" class="form-control" value="{{ old('cpu', $server->cpu) }}"/> |
| 36 | + <span class="input-group-addon">%</span> |
| 37 | + </div> |
| 38 | + <p class="text-muted small">Each <em>physical</em> core on the system is considered to be <code>100%</code>. Setting this value to <code>0</code> will allow a server to use CPU time without restrictions.</p> |
| 39 | + </div> |
| 40 | + <div class="form-group"> |
| 41 | + <label for="threads" class="control-label">CPU Threads</label> |
| 42 | + <div> |
| 43 | + <input type="text" name="threads" class="form-control" value="{{ old('threads', $server->threads) }}"/> |
| 44 | + </div> |
| 45 | + <p class="text-muted small"><strong>Advanced:</strong> Enter the specific CPU cores that this process can run on, or leave blank to allow all cores. This can be a single number, or a comma seperated list. Example: <code>0</code>, <code>0-1,3</code>, or <code>0,1,3,4</code>.</p> |
| 46 | + </div> |
32 | 47 | <div class="form-group"> |
33 | 48 | <label for="memory" class="control-label">Allocated Memory</label> |
34 | 49 | <div class="input-group"> |
|
46 | 61 | <p class="text-muted small">Setting this to <code>0</code> will disable swap space on this server. Setting to <code>-1</code> will allow unlimited swap.</p> |
47 | 62 | </div> |
48 | 63 | <div class="form-group"> |
49 | | - <label for="cpu" class="control-label">CPU Limit</label> |
| 64 | + <label for="cpu" class="control-label">Disk Space Limit</label> |
50 | 65 | <div class="input-group"> |
51 | | - <input type="text" name="cpu" class="form-control" value="{{ old('cpu', $server->cpu) }}"/> |
52 | | - <span class="input-group-addon">%</span> |
53 | | - </div> |
54 | | - <p class="text-muted small">Each <em>physical</em> core on the system is considered to be <code>100%</code>. Setting this value to <code>0</code> will allow a server to use CPU time without restrictions.</p> |
55 | | - </div> |
56 | | - <div class="form-group"> |
57 | | - <label for="threads" class="control-label">CPU Threads</label> |
58 | | - <div> |
59 | | - <input type="text" name="threads" class="form-control" value="{{ old('threads', $server->threads) }}"/> |
| 66 | + <input type="text" name="disk" class="form-control" value="{{ old('disk', $server->disk) }}"/> |
| 67 | + <span class="input-group-addon">MB</span> |
60 | 68 | </div> |
61 | | - <p class="text-muted small"><strong>Advanced:</strong> Enter the specific CPU cores that this process can run on, or leave blank to allow all cores. This can be a single number, or a comma seperated list. Example: <code>0</code>, <code>0-1,3</code>, or <code>0,1,3,4</code>.</p> |
| 69 | + <p class="text-muted small">This server will not be allowed to boot if it is using more than this amount of space. If a server goes over this limit while running it will be safely stopped and locked until enough space is available.</p> |
62 | 70 | </div> |
63 | 71 | <div class="form-group"> |
64 | 72 | <label for="io" class="control-label">Block IO Proportion</label> |
|
67 | 75 | </div> |
68 | 76 | <p class="text-muted small"><strong>Advanced</strong>: The IO performance of this server relative to other <em>running</em> containers on the system. Value should be between <code>10</code> and <code>1000</code>.</code></p> |
69 | 77 | </div> |
70 | | - <div class="form-group"> |
71 | | - <label for="cpu" class="control-label">Disk Space Limit</label> |
72 | | - <div class="input-group"> |
73 | | - <input type="text" name="disk" class="form-control" value="{{ old('disk', $server->disk) }}"/> |
74 | | - <span class="input-group-addon">MB</span> |
75 | | - </div> |
76 | | - <p class="text-muted small">This server will not be allowed to boot if it is using more than this amount of space. If a server goes over this limit while running it will be safely stopped and locked until enough space is available.</p> |
77 | | - </div> |
78 | 78 | <div class="form-group"> |
79 | 79 | <label for="cpu" class="control-label">OOM Killer</label> |
80 | 80 | <div> |
|
0 commit comments