Relay Bandwidth Limit

Hi all, I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to

“day 1 00:00”. It looks as though my relay is going to blow past that limit based on the average data transferred per day and how many days are left in the month. Will it simply stop transferring data when the monthly limit is hit? Thanks On Mon, Oct 16, 2023 at 8:17 AM, Dan <[dan@salmon.cat](mailto:On Mon, Oct 16, 2023 at 8:17 AM, Dan <<a href=)> wrote:
Hi all,
I’ve been running my first relay for a few weeks now. The VPS provider I chose provides 5TB of bandwidth per month so I have set AccountingMax to “5 TB” and AccountingStart to

As far as I know tor won’t spread the 5TB across the month. It’ll just run until it hits that limit and then hibernate for the rest of the define period. So if it hits 5T at 15 days it’ll hibernate for the next 15. You can try to spread this out yourself by using daily limits and divide your allocation that way. It may still hibernate but may be available for more time during the month than the monthly max. Hopefully I’m understanding correctly - your original message was truncated across two messages. Cheers On Mon, Oct 16, 2023 at 8:40 AM, John Broome <[jbroome@gmail.com](mailto:On Mon, Oct 16, 2023 at 8:40 AM, John Broome <<a href=)> wrote:

Hi Dan, Please be aware that the AccountingMax is per direction of traffic (in/out). So 5TB is effectively 2*5=10TB in total. See also https://support.torproject.org/relay-operators/limit-total-bandwidth/ And maybe you don't want all your bandwidth used and want some traffic reserved for connecting/operating via ssh for example and installing updates during the month. And indeed, the traffic will stop when the limit is reached or when all bandwidth the VPS provider gave is used. Regards, Jonathan -------- Courriel d’origine -------- De : Dan <dan@salmon.cat> Envoyé : 16 octobre 2023 15:19:36 GMT+02:00 À : "tor-relays@lists.torproject.org" <tor-relays@lists.torproject.org> Objet : Re: [tor-relays] Relay Bandwidth Limit “day 1 00:00”. It looks as though my relay is going to blow past that limit based on the average data transferred per day and how many days are left in the month. Will it simply stop transferring data when the monthly limit is hit? Thanks On Mon, Oct 16, 2023 at 8:17 AM, Dan <[dan@salmon.cat](mailto:On Mon, Oct 16, 2023 at 8:17 AM, Dan <<a href=)> wrote:
My GnuPG key is: c6f32128e7522f4acb878d6a4a9f0b50ace75416 <https://keys.openpgp.org/search?q=jonathan@jonakeys.nl>

I was never able to get the other bandwidth shaping parameters in tor to work how I wanted. So, for my bandwidth limited server, I ended up loading "wondershaper" so I could provide a limited bandwidth continuously throughout the month instead of an on/off/on/off/... connection. Cheers. On 10/16/2023 7:15 AM, Jonathan van der Steege wrote:

On Mon, Oct 16, 2023 at 01:18:01PM +0000, Dan wrote:
Yes, that's how it works. The one catch to keep an eye out for is that different ISPs count bandwidth differently, and by default when you set AccountingMax to 5 TBytes, it means up to 5 TBytes in each direction. If your ISP means "2.5 TBytes in each direction" when it says 5TB of bandwidth per month (i.e. it counts each byte twice), then you could be in for a surprise. See the AccountingMax section in the man page for more details, and see the AccountingRule option in the man page for how to tell Tor that your ISP means something different than Tor expected. --Roger
participants (6)
-
Dan
-
Eddie
-
John Broome
-
Jonathan van der Steege
-
Roger Dingledine
-
tostigraeda@protonmail.com