Opened 10 years ago

Closed 10 years ago

#4513 closed Bug (duplicate)

cpu usage pegs and holds on magnet/dht download

Reported by: reardon Owned by:
Priority: Normal Milestone: None Set
Component: Transmission Version: 2.33
Severity: Normal Keywords:
Cc:

Description

[using r21918]

Not sure where to even start on this one. I don't have past experience with magnets.

I just tried a public domain torrent via a magnet link. The link has no instantiating trackers, just the hash. I also have 1000 private trackers loaded and running, about 10 of which are active at any one time.

CPU usage (~2GHz dualcore server) was sitting at 1-2%.

As soon as I added the magnet link, usage went to 100%.

There were not a ton of hanging TCP sessions. I presume most of the new traffic was DHT (ie UDP).

I have a 60peer limit for the torrent. About 40 are from DHT, another 10 from PEX.

Why the crazy CPU spike? It basically goes for as long as the torrent is running (I let it go 20min). transmission-daemon itself becomes very unresponsive, even over localhost...ie it's not a network b/w issue.

Curiously, 'top' shows the process running at 100%, but 'ps -m -o cpu' shows only one thread in the process as active, and only at 9%.

Change History (1)

comment:1 Changed 10 years ago by livings124

  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.