[tor-relays] DirCache on low-memory hosts

Michael Brodhead mkb_cbr at mac.com
Tue Jul 31 18:09:51 UTC 2018


Those of you running relays on low-RAM hosts, what do you do about DirCache?

When I first brought up my relay I noticed this message in the logs:

[warn] Being a directory cache (default) with less than DIRCACHE_MIN_MEM_MB MB of memory is not recommended and may consume most of the available resources, consider disabling this functionality by setting the DirCache option to 0.

When I DirCache to 0 I see another warning:

[warn] DirCache is disabled and we are configured as a relay. This may disqualify us from becoming a guard in the future.

As it turns out I can increase my VMs memory for free so that’s no big deal. Still, I’m curious. What do people do with relays without much memory? Skip DirCache? Are there ways to reduce the memory footprint and still cache directory info?

Thanks,

—mkb



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20180731/a1d14db3/attachment.html>


More information about the tor-relays mailing list