Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #9105

Closed (moved)
Open
Opened Jun 20, 2013 by Trac@tracbot

make heartbeat messages describe hibernation consistently

If user have configured hibernation it looks like this:

03:02:02.000 [notice] Bandwidth soft limit reached; commencing hibernation. No new connections will be accepted
06:19:04.000 [notice] Heartbeat: Tor's uptime is 18:00 hours, with 1 circuits open. I've sent 1.43 GB and received 1.45 GB. We are currently hibernating.
08:00:00.000 [notice] Configured hibernation.  This interval began at 2013-06-20 08:00:00; the scheduled wake-up time was 2013-06-20 08:00:00; we expect to exhaust our quota for this interval around 2013-06-21 08:00:00; the next interval begins at 2013-06-21 08:00:00 (all times local)
08:00:00.000 [notice] Hibernation period ended. Resuming normal activity.
12:19:04.000 [notice] Heartbeat: Tor's uptime is 4:19 hours, with 45 circuits open. I've sent 1.58 GB and received 1.60 GB.

This is inconsistent. Upon hibernating Tor uptime is reset, but transferred GB are not. This does not make these messages useful.

It would be best to reset bw info on uptime reset after hibernation ended or report totals and current periods.

For example Running for XX hours (not reset on hibernation), total sent/received. Uptime is YY hours, sent/received data since last start.

If user have configured hibernation, i presume that he wants to know data sent/received in last hibernation interval.

Trac:
Username: hsn

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: unspecified
Milestone
Tor: unspecified
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#9105