hive-matrix: turn off tuwunel's log preallocation on btrfs and zfs
Refs #6885
This commit is contained in:
parent
82710f4fa8
commit
7c7c94d184
1 changed files with 58 additions and 0 deletions
|
|
@ -31,6 +31,11 @@ Same shape as [`gateway.md::hive-forge container shape`](../../4-implementation/
|
|||
`/var/lib/nixos-containers/hive-matrix/var/lib/matrix-tuwunel/`
|
||||
survives container restart / host reboot. To wipe, destroy the
|
||||
container.
|
||||
- At each start tuwunel's unit checks which filesystem holds its database.
|
||||
On btrfs or ZFS it sets `rocksdb_allow_fallocate = false` (through
|
||||
`TUWUNEL_ROCKSDB_ALLOW_FALLOCATE`), because RocksDB's preallocated
|
||||
write-ahead logs pin far more disk than they hold there. On any other
|
||||
filesystem tuwunel's default stays.
|
||||
|
||||
## Identity vs API listener: `serverName` vs `gatewayHost`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue