mirror of
https://git.torproject.org/tor.git
synced 2025-10-05 23:42:52 +02:00
Merge branch 'maxhsdircache' into 'main'
fix default MaxHSDirCacheBytes setting See merge request tpo/core/tor!928
This commit is contained in:
@@ -2453,11 +2453,12 @@ is non-zero):
|
||||
[[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)
|
||||
accessed hidden service descriptors from the relay's HSDir cache.
|
||||
If set to 0, this will default to 20% of MaxMemInQueues. (Default: 0) +
|
||||
+
|
||||
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.
|
||||
|
||||
[[MaxMemInQueues]] **MaxMemInQueues** __N__ **bytes**|**KBytes**|**MBytes**|**GBytes**::
|
||||
This option configures a threshold above which Tor will assume that it
|
||||
|
Reference in New Issue
Block a user