Skip to content

Commit 502a349

Browse files
author
Alex Katsman
committed
Fix docs
1 parent 0d68d1e commit 502a349

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/en/operations/settings/server-overload.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Controlling behavior on server CPU overload.'
3+
sidebar_label: 'Server overload'
34
slug: /operations/settings/server-overload
45
title: 'Server overload'
56
---
@@ -17,7 +18,7 @@ There's a server setting `os_cpu_busy_time_threshold` which controls the minimum
1718
doing some useful work. If the current value of `OSCPUVirtualTimeMicroseconds` metric is below this value,
1819
CPU overload is assumed to be 0.
1920

20-
## Rejecting queries
21+
## Rejecting queries {#rejecting-queries}
2122

2223
The behavior of rejecting queries is controlled by query-level settings `min_os_cpu_wait_time_ratio_to_throw` and
2324
`max_os_cpu_wait_time_ratio_to_throw`. If those settings are set and `min_os_cpu_wait_time_ratio_to_throw` is less
@@ -26,7 +27,7 @@ with some probability is the overload ratio is at least `min_os_cpu_wait_time_ra
2627
is determined as a linear interpolation between min and max ratios. For example, if `min_os_cpu_wait_time_ratio_to_throw = 2`,
2728
`max_os_cpu_wait_time_ratio_to_throw = 6`, and `cpu_overload = 4`, then the query will be rejected with a probability of `0.5`.
2829

29-
## Dropping connections
30+
## Dropping connections {#dropping-connections}
3031

3132
Dropping connections is controlled by server-level settings `min_os_cpu_wait_time_ratio_to_drop_connection` and
3233
`max_os_cpu_wait_time_ratio_to_drop_connection`. Those settings can be changed without server restart. The idea behind

0 commit comments

Comments
 (0)