<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Those of you running relays on low-RAM hosts, what do you do about DirCache?</div><div class=""><br class=""></div><div class="">When I first brought up my relay I noticed this message in the logs:</div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><br class=""></div><div class="">[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.</div><div class=""><br class=""></div></blockquote>When I DirCache to 0 I see another warning:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class="">[warn] DirCache is disabled and we are configured as a relay. This may disqualify us from becoming a guard in the future.</div></blockquote><div class=""><div class=""><br class=""></div><div class="">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?</div><div class=""><br class=""></div><div class="">Thanks,</div><div class=""><br class=""></div><div class="">—mkb</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></body></html>