From: Mike Perry Date: Thu, 5 Jun 2025 01:02:01 +0000 (+0000) Subject: Add manpage entry for MaxHSDirCacheBytes. X-Git-Tag: tor-0.4.8.18~6^2^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=42278083eb69b60b7d7631a56763dd1f051beb53;p=thirdparty%2Ftor.git Add manpage entry for MaxHSDirCacheBytes. --- diff --git a/doc/man/tor.1.txt b/doc/man/tor.1.txt index ad6ec8ba8d..ebd1f2adb9 100644 --- a/doc/man/tor.1.txt +++ b/doc/man/tor.1.txt @@ -2429,6 +2429,15 @@ is non-zero): level __notice__ message designed to help developers instrumenting Tor's main event loop. (Default: 0) +[[MaxHSDirCacheBytes]] **MaxHSDirCacheBytes** __N__ **bytes**|**KBytes**|**MBytes**|**GBytes**:: + This option configures a threshold of Hidden Service Directory memory + consumption above which your Tor relay will begin to prune the least-frequently + accessed hidden service descriptors from the relay's HSDir cache. This pruning used + to be done as part of MaxMemInQueues, but it has been decoupled to allow more + fine-grained control of descriptor cache size under DDoS conditions. This + option defaults to 20% of the MaxMemInQueues size, which itself defaults to + an automatically determined value based on system memory. (Default: 20% MaxMemInQueues) + [[MaxMemInQueues]] **MaxMemInQueues** __N__ **bytes**|**KBytes**|**MBytes**|**GBytes**:: This option configures a threshold above which Tor will assume that it needs to stop queueing or buffering data because it's about to run out of