What steps will reproduce the problem?
1. run python2.6 VBoxWebSrv.py
2. run top
3. observe en antire cpu eaten by the process
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2510 root 20 0 148m 18m 5656 R 87 0.2 2403:01 python2.6
when issuing
strace -p 2510
(where 2510 is the pid of the process), I see the endless output of
...
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2557] <... select resumed> ) = 0 (Timeout)
[pid 2654] <... select resumed> ) = 0 (Timeout)
[pid 2510] futex(0x959a450, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid 2557] gettimeofday( <unfinished ...>
[pid 2654] futex(0x959a450, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid 2557] <... gettimeofday resumed> {1264071388, 674628}, NULL) = 0
[pid 2557] futex(0x959a450, FUTEX_WAKE_PRIVATE, 1) = 1
[pid 2654] <... futex resumed> ) = 0
[pid 2557] select(0, NULL, NULL, NULL, {0, 50000} <unfinished ...>
[pid 2654] futex(0x959a450, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 2510] <... futex resumed> ) = 0
[pid 2654] <... futex resumed> ) = 1
[pid 2510] futex(0x959a450, FUTEX_WAIT_PRIVATE, 0, NULL <unfinished ...>
[pid 2654] gettimeofday({1264071388, 674750}, NULL) = 0
[pid 2654] futex(0x959a450, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 2510] <... futex resumed> ) = 0
[pid 2654] <... futex resumed> ) = 1
[pid 2510] select(6, [5], NULL, [5], NULL <unfinished ...>
[pid 2654] select(0, NULL, NULL, NULL, {0, 50000} <unfinished ...>
[pid 2510] <... select resumed> ) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
[pid 2510] select(6, [5], NULL, [5], NULL) = 1 (in [5])
...
What version of the product are you using? On what operating system?
current svn
Debian Lenny, 32 bit