This is documentation for NATS Documentation 2.11, which is no longer actively maintained.
For up-to-date documentation, see the latest version (2.14 (latest)).
Version: 2.11
max_file
Aliases: max_store, max_disk, store, disk
Hot Reloadable
Applied by replacing the account's whole limits map, so it is all-or-nothing: on a standalone server the update is rejected if it would put max_memory/max_file below already-reserved stream bytes, and the reload still reports success (the error is only logged). Worse, the account walk returns on the first such error, so accounts later in iteration order get no limit update at all. This is the value whose reduction triggers that rejection.
The maximum storage allowed across all file-based assets.