You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: site/content/en/docs/administration/basics/installation.md
+32Lines changed: 32 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -377,6 +377,12 @@ MigrationsHealthCheck ... working
377
377
OPAHealthCheck ... working
378
378
```
379
379
380
+
Configuring Disk Usage Health Check
381
+
382
+
-`CVAT_HEALTH_DISK_USAGE_MAX`: This environment variable specifies the maximum allowed disk usage percentage
383
+
for the volume where CVAT is installed.
384
+
If the disk usage exceeds this threshold, the DiskUsage health check will fail.
385
+
The value should be an integer representing a percentage (e.g., 90 for 90%). Read more about how to enable [health checks](#cvat-health-check-failed-because-of-too-low-free-disk-space).
380
386
### Deploying CVAT behind a proxy
381
387
382
388
If you deploy CVAT behind a proxy and do not plan to use any of [serverless functions](#semi-automatic-and-automatic-annotation)
@@ -720,3 +726,29 @@ and restart docker:
720
726
```shell
721
727
docker compose -f docker-compose.yml -f docker-compose.https.yml up -d
722
728
```
729
+
730
+
### CVAT health check failed because of too low free disk space
731
+
732
+
During CVAT startup, it is possible to get an error like this:
733
+
734
+
```
735
+
health_check.exceptions.ServiceWarning: warning: <server name> 94.8% disk usage exceeds 90%
736
+
```
737
+
738
+
This error means that there is not enough free disk space on the CVAT data storage volume.
739
+
740
+
By default, CVAT requires at least 10% free disk space. If you want to change the default value,
741
+
it is possible to configure the required amount of free space used in such checks.
742
+
743
+
Set the environment variable:
744
+
745
+
```shell
746
+
export CVAT_HEALTH_DISK_USAGE_MAX=90
747
+
```
748
+
749
+
and add an extra environment variable to the `docker-compose.yml` file:
0 commit comments