high cpu usage with qb 2.0.5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libtorrent-rasterbar |
Invalid
|
Undecided
|
Unassigned | ||
qBittorrent |
Triaged
|
Undecided
|
Christophe Dumez |
Bug Description
Ubuntu 9.10 (32 bit), qb 2.0.5 (PPA package)
similar to #502547
qBittorrent hogs CPU (constantly >90% on double-core AMD Turion) with two running torrents. strace gives constantly output similar to this:
- - -
gettimeofday(
poll([{fd=3, events=POLLIN}, {fd=11, events=
read(7, 0x92813a0, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(
clock_gettime(
clock_gettime(
clock_gettime(
clock_gettime(
clock_gettime(
read(7, 0x92813a0, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(16, 0x92b5470, 4096) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday(
poll([{fd=3, events=POLLIN}, {fd=11, events=
read(7, 0x92813a0, 4096) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(
clock_gettime(
clock_gettime(
clock_gettime(
clock_gettime(
clock_gettime(
read(7, 0x92813a0, 4096) = -1 EAGAIN (Resource temporarily unavailable)
read(16, 0x92b5470, 4096) = -1 EAGAIN (Resource temporarily unavailable)
gettimeofday(
poll([{fd=3, events=POLLIN}, {fd=11, events=
read(7, 0x92813a0, 4096) = -1 EAGAIN (Resource temporarily unavailable)
- - -
Hence, it sems to me poll() fails constantly, resulting failing calls to read().
tags: | added: 2.0.5 cpu |
If you have any more information, please use libtorrent- rasterbar bug report instead. I'm almost certain the problem is in libtorrent.