<div dir="ltr"><div>Hi,</div><div><br></div><div>There are two main mechanisms to limit relays bandwidth usage. </div><div>The first is by setting RelayBandwidthRate and RelayBandwidthBurst to limit the average and peak bandwidth usage of your bridge.</div><div>The second is by setting AccountingMax, AccountingStart and possibly accounting AccountingRule, to limit the total bandwidth usage over some periode (day, week or month)<br></div><div><br></div><div>If you want to limit your relay to, say 100mbit, with burst at 120, and set a hard limit on monthly traffic to 1TB you can set in your relay torrc.</div><div></div><div><br><div>RelayBandwidthRate 100MBits</div><div>RelayBandwidthBurst 120MBits</div><div>AccountingMax 1 TBytes</div><div>AccountingStart month 1 00:00 # this is actually the default value, so you can omit it<br><br></div><div>You can read more about these options in <a href="https://man.archlinux.org/man/tor.1">tor manpage</a>.</div><div><br></div><div>You can use either or both kind of settings. As the goal is to limit cost, you should definitely use the Accounting part. You can set RelayBandwdith so your relay does not use its quota in just a few days, unless that would make it too slow.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 6 mai 2022 à 14:16, sysmanager7 via tor-relays <<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:arial;font-size:14px"><p>Hi</p><p>  Is there a tutorial on how to limit a relay's throughput?? There has to be!<br>
  I did a search and came up empty. I'm trying to avoid shutting down my<br>
  relay's due to financial burden  Any help would be appreciated.</p><p>     Thank you!</p><br></div><div style="font-family:arial;font-size:14px"><br></div>
<div style="font-family:arial;font-size:14px">
    <div>

            </div>

            <div>
        Sent with <a href="https://protonmail.com/" rel="noopener noreferrer" target="_blank">ProtonMail</a> secure email.
    </div>
</div>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>