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
  • #20504

Closed (moved)
Open
Opened Oct 31, 2016 by teor@teor

When there is only one slice and one scanner, a bwauth runs a second empty slice

When I run a single bandwidth scanner on less than 50 nodes, configured with:

start_pct = 0
stop_pct = 100
nodes_per_slice = 50

I get the following log message:

NOTICE[Mon Oct 31 04:31:46 2016]:Starting slice for percentiles 100-200
NOTICE[Mon Oct 31 04:31:47 2016]:Only 0 exits remain in slice 100-200 after restrictions. ...
NOTICE[Mon Oct 31 04:31:47 2016]:No routers left after restrictions applied: NodeRestrictionList(['UnmeasuredPercentileRestriction(100,200)', 'OrNodeRestriction(["FlagsRestriction([\'BadExit\'],[])", \'ConserveExitsRestriction()\'])', "FlagsRestriction(['Running'],[])"])

as well as a successful message for the 0-100 slice.

It seems likely that there is an off by one error, either in the handling of start_pct & stop_pct, or in the handling of nodes_per_slice.

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