<div dir="ltr">Thank you, I have installed ARM.. It it nice.  So if I gather the above correctly, rate limiting 430 KB will insure that the totals of the TX and RX should not exceed 500GB in 2 weeks?  Thank you all for your help again.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 14, 2013 at 3:28 PM, Moritz Bartl <span dir="ltr"><<a href="mailto:moritz@torservers.net" target="_blank">moritz@torservers.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 09/14/2013 09:47 PM, Jonathan W wrote:<br>
> I am about to run a relay, but I don't want it using more than 1000GB a<br>
> month.  I prefer to manage this using the *BandwidthRate*//but I don't<br>
> know the math//to constrain it over a 1000GB a month.<br>
<br>
1000GB in both directions means 500GB per month. You can spread this<br>
across the whole month, but it probably makes more sense to have a high<br>
bandwidth relay that is only active for some, say two, weeks. I don't<br>
have any numbers, but I would guess there are many relays that start<br>
accounting at the 1st of every month and thus stop relaying traffic<br>
during the month. So, I would suggest to move the account period, which<br>
you can do using the AccountingStart directive. The following setting<br>
sets it to use 500 GB per direction per accounting period, uses a<br>
monthly accounting period, and starts from the 15th of every month (to<br>
the 15th of the next month).<br>
<br>
AccountingMax 500 GB # per direction<br>
AccountingStart month 15 0:00<br>
<br>
Additionally, you correctly want to use BandwidthRate to not burn 500GB<br>
on a single day. If your goal is to hit 500GB after around 2 weeks:<br>
500GB/14days = (500*1024*1024)KB/(14*24*60*60)seconds = 433 KB/s<br>
<br>
BandwidthRate 430 KB<br>
<br>
There's some mystery around BandwidthBurst, but the following should not<br>
hurt:<br>
<br>
BandwidthBurst 1000 KB<br>
<br>
> I also want to relay the directory.  Is there a way to also use vidalia<br>
> to interface?  I'll be relaying on a linux (ubuntu) server remotly, and<br>
> I'm using a windows system to set it all up.  I'll be using SSH to shell<br>
> in, but I'd love to use vidalia.<br>
<br>
No, this is not possible. A wonderful Tor controller for Linux command<br>
line is "arm", <a href="https://www.torproject.org/projects/arm.html.en" target="_blank">https://www.torproject.org/projects/arm.html.en</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Moritz Bartl<br>
<a href="https://www.torservers.net/" target="_blank">https://www.torservers.net/</a><br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</font></span></blockquote></div><br></div>