Opened 12 years ago

Closed 12 years ago

#3010 closed Bug (duplicate)

Entire network subsystem seems to block on slow SOCKS proxy

Reported by: ShaggyRed Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 1.91
Severity: Normal Keywords:
Cc:

Description

I use transmission in conjunction with Tor as a SOCKS5 proxy for my tracker-only traffic (not torrent traffic). Whenever Transmission does an announce, it seems like the entire networking system blocks on these slower proxy requests. This includes all other torrents - not just the one doing the announce.

Worse, it appears the entire networking system blocks for the entirety of the announce process, not just individual HTTP requests.

This behavior is most apparent when adding a new torrent. The initial announce process takes forever.

I am using Transmission 1.91 on Mac OS X 10.6.2. I am also using the Tor 0.2.2.8 alpha bundle from https://www.torproject.org/download.html

I feel like the fix should involve either parallelizing the announce process in its own thread and only locking a single queue between the announce thread and the main client, or at least performing finer-grained locking on the proxied requests so that they only block for a single request, and only block the torrent they are active for.

Obviously full parallelization would be best though.

Change History (1)

comment:1 Changed 12 years ago by charles

  • Resolution set to duplicate
  • Status changed from new to closed

Thanks for this report.

Reading through its description, I think this will be resolved by #2987 so I'm going to mark this as a duplicate.

Note: See TracTickets for help on using tickets.