Skip to content

Commit ed157f1

Browse files
committed
fix bullets
1 parent 9929c80 commit ed157f1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

managing-cf/scaling-cloud-controller.html.md.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Scaling Cloud Controller
33
owner: CAPI
44
---
55

6-
This topic describes how and when to scale BOSH jobs in CAPI, and includes details about some key metrics, heuristics, and logs.
6+
This topic describes how and when to scale BOSH jobs in CAPI, and includes details about some key metrics, heuristics, and logs.
77

88
To inform some scaling decisions, check current CPU values by running `bosh instances --ps --vitals`.
99
The **CPU User** value corresponds with the `system.cpu.user` metric and is scaled by the number of CPUs.
@@ -26,7 +26,7 @@ When you are determining whether to scale `cloud_controller_ng`, look for the fo
2626

2727
Cloud Controller emits the following metrics:
2828

29-
* `cc.requests.outstanding.gauge` or `cc.requests.outstanding` (deprecated)
29+
* `cc.requests.outstanding.gauge` or `cc.requests.outstanding` (deprecated)
3030
* Thin: is at or consistently near 20.
3131
* Puma: is at or consistently near the total number of available Puma threads on the VM. You can calculate this with `Puma Workers x Puma Max Threads`.
3232
* `system.cpu.user`
@@ -99,6 +99,7 @@ This is because Thin operates in a single process and Ruby's Global Interpreter
9999

100100
If there are any threads which had to wait for a free DB connection (indicated by `cc_db_connection_wait_duration_seconds`) it might be worth to increase the DB connection pool if possible.
101101
Threads waiting on free DB connections will cause delays in the web server's responses.
102+
102103
* Thin: Connection pool size can be configured with: `ccdb.max_connections`
103104
* Puma: Connection pool size per process (main + workers) can be configured with: `cc.puma.max_db_connections_per_process`
104105

0 commit comments

Comments
 (0)