From 680d49baf70ebc2f7e304533906564f574c9777a Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Wed, 4 Nov 2026 19:13:09 -1000 Subject: Warn against one cache-root shared over NFS The advice was only in the v2.11.0 upgrade notes in CHANGE.txt. --- MANUAL.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index c95b67e..88036de 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -75,9 +75,11 @@ cache-max-slot-size:: cache-root:: Path used to store the cgit cache entries. A scan-path keeps its cached - result under the value defined prior to it. Default value: - "/var/cache/cgit". See also: "Macro expansion" and the note on ownership - under "The cache". + result under the value defined prior to it. Hosts sharing one cache-root + over NFS mounted with local_lock=flock or local_lock=all do not see each + other's locks and can rebuild the same entry at once, so give each host + a cache-root of its own on local disk. Default value: "/var/cache/cgit". + See also: "Macro expansion" and the note on ownership under "The cache". cache-scan-ttl:: Number which specifies the time-to-live, in minutes, for the result of -- cgit 2.12.1