File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
docs/en/operations/settings Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11---
22description : ' Controlling behavior on server CPU overload.'
3+ sidebar_label : ' Server overload'
34slug : /operations/settings/server-overload
45title : ' Server overload'
56---
@@ -17,7 +18,7 @@ There's a server setting `os_cpu_busy_time_threshold` which controls the minimum
1718doing some useful work. If the current value of ` OSCPUVirtualTimeMicroseconds ` metric is below this value,
1819CPU overload is assumed to be 0.
1920
20- ## Rejecting queries
21+ ## Rejecting queries {#rejecting-queries}
2122
2223The 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
2627is 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
3132Dropping 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
You can’t perform that action at this time.
0 commit comments