aMule Bug Tracker - aMule
View Issue Details
0000608aMuleExternal Connpublic2005-10-22 21:032008-07-02 11:38
inode 
 
normalmajoralways
closedopen 
SVN 
 
0000608: amuleweb use 100% of CPU
The amuleweb application work correctly but use 100% of my CPU constantly. Seem that amuleweb call select syscall and the select return always causing a polling on the socket.
OS: OpenBSD 3.8
wx-version: 2.4.2
gcc version: 3.3.5 (propolice)


Breaking on gdb:

0x0b174f89 in select () from /usr/lib/libpthread.so.6.1
(gdb) bt
#0 0x0b174f89 in select () from /usr/lib/libpthread.so.6.1
0000001 0x0e2eafe8 in GSocket_Select () from /usr/local/lib/libwx_base.so.2.4
0000002 0x0e2c791a in wxSocketBase::_Wait(long, long, int) () from /usr/local/lib/libwx_base.so.2.4
0000003 0x0e2c8279 in wxSocketServer::WaitForAccept(long, long) () from /usr/local/lib/libwx_base.so.2.4
0000004 0x1c06a4fa in CWSThread::Entry() ()
0000005 0x0e2fd43d in wxThreadInternal::PthreadStart(wxThread*) () from /usr/local/lib/libwx_base.so.2.4
0000006 0x0e2fd2f3 in wxPthreadStart () from /usr/local/lib/libwx_base.so.2.4
0000007 0x0b171d4b in _thread_start () from /usr/lib/libpthread.so.6.1

With ktrace:
 26958 amuleweb CALL gettimeofday(0x86a95de0,0)
 26958 amuleweb RET gettimeofday 0
 26958 amuleweb CALL poll(0x80034000,0x1,0)
 26958 amuleweb RET poll 0
 26958 amuleweb CALL gettimeofday(0x86a95de0,0)
 26958 amuleweb RET gettimeofday 0
 26958 amuleweb CALL poll(0x80034000,0x1,0)
 26958 amuleweb RET poll 0


No tags attached.
Issue History
2005-10-22 21:03inodeNew Issue
2008-07-02 11:38WuischkeStatusnew => closed

There are no notes attached to this issue.