pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/41248: transmission-daemon busy-loops
>Number: 41248
>Category: pkg
>Synopsis: transmission-daemon busy-loops
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Apr 19 17:20:00 +0000 2009
>Originator: Scott Ellis
>Release: amd64
>Organization:
>Environment:
NetBSD intrepid 5.99.10 NetBSD 5.99.10 (INTREPID.P5W) #0: Sun Apr 5 09:35:28
PDT 2009
scotte@intrepid:/nbu/source/netbsd/src/obj.amd64/nbu/source/netbsd/src/sys/arch/amd64/compile/INTREPID.P5W
amd64
>Description:
Building Transmission 1.52 from pkgsrc works great, except that starting
transmission-daemon causes it to use 100% CPU. It seems to function, but
obviously is sub-optimal.
PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND
14786 scotte 14 0 80M 3836K RUN/1 0:07 92.48% 30.52% transmission
intrepid{...52/daemon}% ktrace ./transmission-daemon -f
[10:13:45.082] Couldn't create socket: Address family not supported by protocol
family
[10:13:45.082] RPC Server: Adding address to whitelist: 127.0.0.1
[10:13:45.082] RPC Server: Serving RPC and Web requests on port 9091
[10:13:45.082] RPC Server: Whitelist enabled
[10:13:45.082] Transmission 1.52 (8229) started
[10:13:54.135] Port Forwarding: State changed from "Not forwarded" to "???"
[10:13:54.135] Port Forwarding: Opened port 51413 on 0.0.0.0 to listen for
incoming peer connections
It seems to be caught in a bad kevent loop:
14786 2 transmission-dae CALL accept(7,0x7f7ffbfffb80,0x7f7ffbfffc0c)
14786 2 transmission-dae RET accept -1 errno 35 Resource temporarily una
vailable
14786 2 transmission-dae CALL __gettimeofday50(0x7f7ffbfffc80,0)
14786 2 transmission-dae RET __gettimeofday50 0
14786 2 transmission-dae CALL __kevent50(5,0x7f7ffc809000,0,0x7f7ffc80a00
0,0x40,0x7f7ffbfffcc0)
14786 2 transmission-dae RET __kevent50 0
14786 2 transmission-dae CALL __clock_gettime50(3,0x7f7ffbfffd20)
14786 2 transmission-dae RET __clock_gettime50 0
14786 2 transmission-dae CALL __gettimeofday50(0x7f7ffbfffc80,0)
14786 2 transmission-dae RET __gettimeofday50 0
14786 2 transmission-dae CALL accept(7,0x7f7ffbfffb80,0x7f7ffbfffc0c)
14786 2 transmission-dae RET accept -1 errno 35 Resource temporarily una
vailable
14786 2 transmission-dae CALL __kevent50(5,0x7f7ffc809000,0,0x7f7ffc80a00
0,0x40,0x7f7ffbfffcc0)
14786 2 transmission-dae RET __kevent50 0
14786 2 transmission-dae CALL __clock_gettime50(3,0x7f7ffbfffd20)
14786 2 transmission-dae RET __clock_gettime50 0
14786 2 transmission-dae CALL __gettimeofday50(0x7f7ffbfffc90,0)
>How-To-Repeat:
Build Transmission 1.52.
Execute "transmission-daemon".
Note CPU utilization.
>Fix:
Home |
Main Index |
Thread Index |
Old Index