v0.4.8.12 just released, so try updating to the latest version and see if your situation improves. Other than bandwidth shaping, you may want to consider using accounting options as well.
https://support.torproject.org/relay-operators/limit-total-bandwidth/
Frank
Jun 5, 2024, 6:24 AM by tor-relays@lists.torproject.org:
Hello everyone,
i got a local relay running with v0.4.8.11 and the following configuration:
... RelayBandwidthRate 4 MBytes RelayBandwidthBurst 7 MBytes ExitPolicy reject *:* ExitRelay 0 SocksPort 0
About a month ago, the relay started to behave differently than it used to: A few hours after each restart, it didn't respect the bandwidth limits anymore, meaning it took what it could get. After a while my isp interrupts my connection, i guess because of exhaustive traffic or connections being established, not sure.
This leads to the following loop:
- The relay notices it's ip changed and starts over
- It consumes max bandwidth after a while
- The isp disconnects
- Start at 1, until after enough loops the relay is broken and doesn't connect anymore
I'm not sure what caused the different behaviour, i don't have a close look on when my relay gets an update. The issue is severe for me though, so any help in fixing the bandwidth limit again would be really appreciated.
-- Sent with Tuta; enjoy secure & ad-free emails: https://tuta.com