debian-mirror-gitlab/doc/administration/troubleshooting/defcon.md

36 lines
1.4 KiB
Markdown
Raw Normal View History

2021-06-08 01:23:25 +05:30
---
stage: Enablement
group: Distribution
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
type: reference
---
2021-09-04 01:27:46 +05:30
# Disaster recovery **(FREE SELF)**
2021-06-08 01:23:25 +05:30
2021-09-04 01:27:46 +05:30
This document describes a feature that allows you to disable some important but computationally
expensive parts of the application to relieve stress on the database during an ongoing downtime.
2021-06-08 01:23:25 +05:30
2021-09-30 23:02:18 +05:30
## `ci_queueing_disaster_recovery_disable_fair_scheduling`
2021-06-08 01:23:25 +05:30
2021-09-04 01:27:46 +05:30
This feature flag, if temporarily enabled, disables fair scheduling on shared runners.
This can help to reduce system resource usage on the `jobs/request` endpoint
by significantly reducing the computations being performed.
2021-06-08 01:23:25 +05:30
Side effects:
2021-09-04 01:27:46 +05:30
- In case of a large backlog of jobs, the jobs are processed in the order
they were put in the system, instead of balancing the jobs across many projects.
2021-09-30 23:02:18 +05:30
## `ci_queueing_disaster_recovery_disable_quota`
This feature flag, if temporarily enabled, disables enforcing CI minutes quota
on shared runners. This can help to reduce system resource usage on the
`jobs/request` endpoint by significantly reducing the computations being
performed.
Side effects:
2021-06-08 01:23:25 +05:30
- Projects which are out of quota will be run. This affects
2021-09-04 01:27:46 +05:30
only jobs created during the last hour, as prior jobs are canceled
by a periodic background worker (`StuckCiJobsWorker`).