[tor-relays] Bandwidth Accounting troubles

Tyler Johnson tylrcjhnsn at gmail.com
Tue Mar 21 20:46:39 UTC 2017


Hello!

I've enabled bandwidth accounting on my tor relay, but encountering
issues when the relay attempts to wake from hibernation....

Mar 20 23:47:25 tcj Tor[74346]: Bandwidth soft limit reached;
commencing hibernation. No new connections will be accepted
Mar 20 23:52:30 tcj Tor[74346]: Heartbeat: Tor's uptime is 10 days
12:00 hours, with 150 circuits open. I've sent 90.20 GB and received
90.30 GB. We are currently hibernating.
Mar 20 23:52:30 tcj Tor[74346]: Circuit handshake stats since last
time: 2745/2745 TAP, 15557/15557 NTor.
Mar 20 23:52:30 tcj Tor[74346]: Since startup, we have initiated 0 v1
connections, 0 v2 connections, 0 v3 connections, and 113565 v4
connections; and received 1100 v1 connections,130 v2 connections, 41
v3 connections, and 249967 v4 connections.
Mar 21 00:00:00 tcj Tor[74346]: Configured hibernation.  This interval
began at 2017-03-21 00:00:00; the scheduled wake-up time was
2017-03-21 00:00:00; we expect to exhaust our quota for this interval
around 2017-03-22 00:00:00; the next interval begins at 2017-03-22
00:00:00 (all times local)
Mar 21 00:00:00 tcj Tor[74346]: Hibernation period ended. Resuming
normal activity.
Mar 21 00:00:00 tcj Tor[74346]: Opening OR listener on 185.92.223.3:8080
Mar 21 00:00:00 tcj Tor[74346]: Could not bind to 185.92.223.3:8080:
Address already in use. Is Tor already running?
Mar 21 00:01:00 tcj Tor[74346]: Opening OR listener on 185.92.223.3:8080
Mar 21 00:01:00 tcj Tor[74346]: Could not bind to 185.92.223.3:8080:
Address already in use. Is Tor already running?
Mar 21 00:02:01 tcj Tor[74346]: Opening OR listener on 185.92.223.3:8080
Mar 21 00:02:01 tcj Tor[74346]: Could not bind to 185.92.223.3:8080:
Address already in use. Is Tor already running?

It will continue in this manner until I manually intervene and restart
the relay instance.

snippet from torrc:

## Set a maximum of 30 gigabytes each way per period.
AccountingMax 30 GBytes

## Each period starts daily at midnight (AccountingMax is per day)
AccountingStart day 00:00

## Required: what port to advertise for incoming Tor connections.
ORPort 185.92.223.3:8080

## The IP address or full DNS name for incoming connections to your
## relay. Leave commented out and Tor will guess.
Address 185.92.223.3

## If you have multiple network interfaces, you can specify one for
## outgoing traffic to use.
OutboundBindAddress 185.92.223.3


Tor version and OS:
$ tor --version
Tor version 0.2.9.10 (git-1f6c8eda0073f464).
$ uname -a
OpenBSD tcj.me 6.1 GENERIC#224 amd64


Has anyone else experienced this issue? I have only one outbound
interface, so is setting the OutboundBindAddress unnecessary and
possibly causing the problem?

I do apologize if this has been discussed already. Please point me to
the relevant post if so!

Thanks in advance,

Tyler


More information about the tor-relays mailing list