Ticket #2661 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

xmlrpc call hangs rtorrent under FreeBSD

Reported by: Bojan Petrovic Owned by: rakshasa
Priority: normal Component: rtorrent
Version: Severity: normal
Keywords: Cc:

Description

When calling an xmlrpc method, the cpu usage will max-out for rtorrent process.

ktrace and gdb show SIGUSR1 being sent to a thread in a loop.

When a 2ms delay is added to the loop in ThreadBase::interrupt_main_polling() in source:trunk/rtorrent/src/thread_base.cc the issue dissapears.

  • rtorrent 0.8.9
  • libtorrent 0.12.9
  • FreeBSD 8.2 amd64

Change History

comment:1 Changed 22 months ago by anonymous

Ok, I'll add a sleep statement there.

comment:2 Changed 22 months ago by rakshasa

There will be a fix in next commit.

comment:3 Changed 22 months ago by rakshasa

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

This also seems to fix a high load issue on some archs.

Note: See TracTickets for help on using tickets.