Opened 10 months ago

Closed 6 months ago

#28701 closed defect (worksforme)

Try enabling predicted circuits in sbws

Reported by: teor Owned by:
Priority: Medium Milestone: sbws: 1.1.x-final
Component: Core Tor/sbws Version:
Severity: Normal Keywords: 10-proposed
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 (5)

comment:1 Changed 10 months 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 10 months ago by teor (previous) (diff)

comment:2 Changed 10 months 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 9 months 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)

comment:4 Changed 7 months ago by juga

Keywords: 10-proposed added
Milestone: sbws: 1.0.x-finalsbws: 1.1.x-final

Moving to milestione 1.1 tickets which we don't know if they need to be implemented after 1.0.3 has been released or that can only be done after 1.0 has been released

comment:5 Changed 6 months ago by juga

Resolution: worksforme
Status: newclosed

I think sbws was not stalling because of this. We can reopen if needed.

Note: See TracTickets for help on using tickets.