Opened 5 years ago

Closed 3 years ago

#12452 closed defect (worksforme)

Arm is showing the wrong accounting limit

Reported by: atagar Owned by: atagar
Priority: Low Milestone:
Component: Core Tor/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

Bug report from Kyle...

Bug regarding AccountingMax for 1.4.5.0-1 and likely previous
versions:

As stated in torrc.sample:

## Use these to restrict the maximum traffic per day, week, or month.
## Note that this threshold applies separately to sent and received
bytes,
## not to their sum: setting "4 GB" may allow up to 8 GB total before
## hibernating.

In graph/log view, ARM appears to apply 1/2 AccountingMax to TX and
1/2 AccountingMax to RX, rather than the correct behavior which would
be to apply 1 x AccountingMax to traffic in each direction.

Specifically, I have 2000 GB set in torrc, and ARM displays:
Accounting (awake)                 Time to reset: 23:05:27:35
  167 MB / 1 TB                      147 MB / 1 TB

Child Tickets

Change History (2)

comment:1 Changed 5 years ago by mmcc

I also have this issue. I use the current arm version from Tor's Debian apt-get package repository.

Regardless, I think I tracked the issue down to a bug in Stem. I made a separate ticket here:

https://trac.torproject.org/projects/tor/ticket/12909

comment:2 Changed 3 years ago by atagar

Resolution: worksforme
Severity: Normal
Status: newclosed

Cleaning up old tickets. Nyx is undergoing a rewrite, if this is still relevant then feel free to reopen.

Note: See TracTickets for help on using tickets.