LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Why is strace stuck at rt_sigsuspend, when I attach it to named process? (https://www.linuxquestions.org/questions/linux-general-1/why-is-strace-stuck-at-rt_sigsuspend-when-i-attach-it-to-named-process-670733/)

swati_rallapalli 09-18-2008 01:26 AM

Why is strace stuck at rt_sigsuspend, when I attach it to named process?
 
Hi!

I was trying to record the system calls a named process calls, when it is queried. I started named and attached strace to it by saying strace -p <pid> . I see that it is stuck at rt_sigsuspend but does not record any system calls. But I do get the response for my query. I was suspecting it could be because BIND9 is multithreaded. But this doesnt seem to work even in single processor system, with root privileges.

Could some one please help here?

-thanks.

Mr. C. 09-18-2008 01:38 AM

Use the -f option to follow children. strace the master named process.

swati_rallapalli 09-18-2008 01:54 AM

Thanks!!
 
Thanks a loooooot!! :-) It worked!


All times are GMT -5. The time now is 03:59 PM.