Ticket #2661 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.

Ok, I'll add a sleep statement there.