|
|
@@ -17,19 +17,23 @@ monitor_port: 8222
|
|
|
# trace: true
|
|
|
|
|
|
# JetStream configuration.
|
|
|
-# max_store: hard cap on disk-backed storage. With 11 GiB free on
|
|
|
-# parres (post-prune 2026-06-16), 10 GiB gives a safety
|
|
|
-# margin while still being well above the actual stream
|
|
|
-# usage (~1.1 GiB after the broker.go fix).
|
|
|
-# max_mem: hard cap on memory-backed storage. Set to 1 GiB
|
|
|
-# (parres has 16 GiB total RAM; ollama + prometheus +
|
|
|
-# clickhouse + grafana use the rest). Streams we declare
|
|
|
-# are file-backed, so this only matters for any future
|
|
|
-# memory-backed streams.
|
|
|
-# store_dir: where JetStream writes its files. Mounted from the
|
|
|
-# natsdata docker volume.
|
|
|
+# max_file_store: hard cap on disk-backed storage. With 11 GiB free
|
|
|
+# on parres (post-prune 2026-06-16), 10 GiB gives a
|
|
|
+# safety margin while still being well above the
|
|
|
+# actual stream usage (~1.1 GiB after the broker.go
|
|
|
+# fix in f450196).
|
|
|
+# max_mem_store: hard cap on memory-backed storage. Set to 1 GiB
|
|
|
+# (parres has 16 GiB total RAM; ollama + prometheus +
|
|
|
+# clickhouse + grafana use the rest). Streams we
|
|
|
+# declare are file-backed, so this only matters for
|
|
|
+# any future memory-backed streams.
|
|
|
+# store_dir: where JetStream writes its files. Mounted from the
|
|
|
+# natsdata docker volume.
|
|
|
+#
|
|
|
+# Field names verified against nats-server 2.10 schema (the
|
|
|
+# `max_store` / `max_mem` names from 2.11+ are not valid in 2.10).
|
|
|
jetstream {
|
|
|
- store_dir: /data/jetstream
|
|
|
- max_store: 10737418240 # 10 GiB
|
|
|
- max_mem: 1073741824 # 1 GiB
|
|
|
+ store_dir: /data/jetstream
|
|
|
+ max_file_store: 10737418240 # 10 GiB
|
|
|
+ max_mem_store: 1073741824 # 1 GiB
|
|
|
}
|