Comment 33 for bug 64326

Revision history for this message
Robin Sheat (eythian) wrote :

w.r.t the 100% CPU when idle, it doesn't seem to be doing anything. At least, an strace doesn't show much, and nothing is logged. It just seems to be looping over this:

sigreturn() = ? (mask now ~[INT QUIT ABRT KILL TERM STOP RTMIN])
futex(0x81f6660, FUTEX_WAKE, 5) = 0
sigreturn() = ? (mask now [])
gettimeofday({1163110344, 500400}, NULL) = 0
gettimeofday({1163110344, 500453}, NULL) = 0
poll([{fd=21, events=POLLIN}], 1, 1932) = -1 EINTR (Interrupted system call)
--- SIGPWR (Power failure) @ 0 (0) ---
futex(0x81f6660, FUTEX_WAKE, 5) = 0
rt_sigsuspend(~[INT QUIT ABRT TERM XCPU RTMIN RT_1]) = ? ERESTARTNOHAND (To be restarted)
--- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
sigreturn() = ? (mask now ~[INT QUIT ABRT KILL TERM STOP RTMIN])
futex(0x81f6660, FUTEX_WAKE, 5) = 0
...

As for fd 21, from the poll:
$ ls -l /proc/6152/fd/21
lr-x------ 1 robin robin 64 2006-11-10 11:14 /proc/6152/fd/21 -> pipe:[15633]

I don't know how to tell what's at the other end of the pipe however.