<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div><br></div><div>On 8 Apr 2018, at 16:25, <a href="mailto:tschador@posteo.de">tschador@posteo.de</a> wrote:<br><br></div><blockquote type="cite"><div><span>Hi,</span><br><span></span><br><span>every time Tor is restarted (for example after upgrading) the HSDir flag</span><br><span>of my relay (6A7551EEE18F78A9813096E82BF84F740D32B911) is lost for 4</span><br><span>days. Why?</span><br></div></blockquote><div><br></div><div>The minimum uptime for HSDirs is 96 hours (4 days):</div><div><a href="https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n2524">https://gitweb.torproject.org/torspec.git/tree/dir-spec.txt#n2524</a></div><div><br></div><div>Why 4 days?</div><div><br></div><div>HSDirs rotate every 24 hours. If a relay has been up for 4 days, then it is</div><div>likely to be up for the next 24 hours. So it is given the flag.</div><div><br></div><div>(If a HSDir goes down, it takes a few hours for clients and services to find</div><div>out it is down. If too many HSDirs go down at the same time, the services</div><div>assigned to those HSDirs are unreachable for a few hours. The minimum</div><div>uptime reduces the risk of HSDir downtime.)</div><div><br></div><div>T</div></body></html>