tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 42278083eb69b60b7d7631a56763dd1f051beb53
parent 28a76bd5a71df4afa3bd0ef444d30c01c79ad8cd
Author: Mike Perry <mikeperry-git@torproject.org>
Date:   Thu,  5 Jun 2025 01:02:01 +0000

Add manpage entry for MaxHSDirCacheBytes.

Diffstat:
Mdoc/man/tor.1.txt | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git 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