Opened 6 weeks ago

Last modified 5 weeks ago

#28701 new defect

Try enabling predicted circuits in sbws

Reported by: teor Owned by:
Priority: Medium Milestone: sbws: 1.0.x-final
Component: Core Tor/sbws Version:
Severity: Normal Keywords:
Cc: juga, teor Actual Points:
Parent ID: #28639 Points:
Reviewer: Sponsor:

Description

Torflow doesn't stall. I compared the Torflow and sbws tor options. sbws sets __DisablePredictedCircuits 1 and Torflow does not.

So you could try removing that option from sbws:
https://github.com/torproject/sbws/blob/10cda4bfdff1b777f5005ce9f5a433290aafa216/sbws/util/stem.py#L75
https://github.com/torproject/sbws/blob/10cda4bfdff1b777f5005ce9f5a433290aafa216/sbws/util/stem.py#L199

Child Tickets

Change History (3)

comment:1 Changed 6 weeks ago by teor

Tor stalls when DisablePredictedCircuits is set at startup, see #17359.
Maybe tor also stalls after a few days when it is set.

When #17359 is fixed, sbws should be able to use DisablePredictedCircuits.

Last edited 6 weeks ago by teor (previous) (diff)

comment:2 Changed 6 weeks ago by teor

We can set these options to reduce the number of circuits that tor builds:

LongLivedPorts
PredictedPortsRelevanceTime 0 seconds
LearnCircuitBuildTimeout 0

https://trac.torproject.org/projects/tor/ticket/17359#comment:1

comment:3 in reply to:  2 Changed 5 weeks ago by teor

Replying to teor:

We can set these options to reduce the number of circuits that tor builds:

LongLivedPorts
PredictedPortsRelevanceTime 0 seconds
LearnCircuitBuildTimeout 0

https://trac.torproject.org/projects/tor/ticket/17359#comment:1

The following options aren't supported by all Tor versions, we should try them in this order, and allow them to fail:

PredictedPortsRelevanceTime 0 seconds
CircuitIdleTimeout (sbws' circuit timeout)
CircuitsAvailableTimeout (sbws' circuit timeout)
Note: See TracTickets for help on using tickets.