Mention cache maximum errors in config docs (#3137)

See #3094
pull/3919/head
pierwill 2022-03-30 10:35:40 -05:00 committed by GitHub
parent 86055f89fd
commit 16981f0484
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -311,6 +311,8 @@ Default is `1000000000`.
The maximum size in bytes that a shard cache can reach before it starts rejecting writes.
Consider increasing this value if encountering `cache maximum memory size exceeded` errors.
Environment variable: `INFLUXDB_DATA_CACHE_MAX_MEMORY_SIZE`
#### `cache-snapshot-memory-size`

View File

@ -292,6 +292,8 @@ The maximum size that a shard cache can reach before it starts rejecting writes.
Valid memory size suffixes are: `k`, `m`, or `g` (case-insensitive, 1024 = 1k).
Values without a size suffix are in bytes.
Consider increasing this value if encountering `cache maximum memory size exceeded` errors.
Environment variable: `INFLUXDB_DATA_CACHE_MAX_MEMORY_SIZE`
#### `cache-snapshot-memory-size = "25m"`