|
@@ -2338,6 +2338,8 @@ The server tracks four pressure levels based on current usage vs. `max_memory_mb
|
|
|
| `hard` | 85–95% | Aggressive eviction: up to `max_eviction_passes_per_trigger / 2` chunks per tick. Fires `MEMORY_PRESSURE_HIGH` event (edge-triggered) |
|
|
| `hard` | 85–95% | Aggressive eviction: up to `max_eviction_passes_per_trigger / 2` chunks per tick. Fires `MEMORY_PRESSURE_HIGH` event (edge-triggered) |
|
|
|
| `emergency` | ≥ 95% | All writes rejected with `RESOURCE_EXHAUSTED` until pressure drops below hard. Eviction runs at full rate |
|
|
| `emergency` | ≥ 95% | All writes rejected with `RESOURCE_EXHAUSTED` until pressure drops below hard. Eviction runs at full rate |
|
|
|
|
|
|
|
|
|
|
+Pressure refuses writes only. Reads are served from LMDB and are unaffected at every level, so a failing read is never caused by memory pressure: look for an outage or a restart instead.
|
|
|
|
|
+
|
|
|
Query current state via `smartbotic-db-cli status` or the `GetMemoryStats` RPC.
|
|
Query current state via `smartbotic-db-cli status` or the `GetMemoryStats` RPC.
|
|
|
|
|
|
|
|
#### Vectors count against the budget (2.21.2+)
|
|
#### Vectors count against the budget (2.21.2+)
|