On 07/02/2014 01:15 PM, Richard Fuchs wrote:
On 07/02/14 13:07, Alex Balashov wrote:
Interestingly enough, the polling loop of
rtpengine seems to be intact:
[root@sd-rtp01 log]# strace -p 30323
Process 30323 attached - interrupt to quit
restart_syscall(<... resuming interrupted call ...>) = 0
nanosleep({0, 100000000}, NULL) = 0
nanosleep({0, 100000000}, NULL) = 0
nanosleep({0, 100000000}, NULL) = 0
Strace only hooks into the main thread of a process, others don't show
up. If you use "ps -efL" to show the process list, you get to see all
threads of a process including their LWP IDs. Use those IDs to see
what's going on in them with strace (you can specify multiple at the
same time, strace -p $X -p $Y -p $Z ...)
Ah, I was wondering if 'ps' could show LWPs. Thanks!
Would you happen to know the git commit ID of your
build, so I can
correlate the line numbers.
Sure, it's master:b0c0e396d62c4a04d1600fc5eb8a3462a0e6cefe.
--
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web:
http://www.evaristesys.com/,
http://www.alexbalashov.com/
Please be kind to the English language:
http://www.entrepreneur.com/article/232906