LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-18-2008, 02:26 AM   #1
swati_rallapalli
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
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.
 
Old 09-18-2008, 02:38 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
Use the -f option to follow children. strace the master named process.
 
Old 09-18-2008, 02:54 AM   #3
swati_rallapalli
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks!!

Thanks a loooooot!! :-) It worked!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Named errors and stuck in a bind! sir-lancealot Linux - Server 1 08-11-2007 07:34 PM
attach a process to init sagar.1986 Linux - General 1 04-24-2007 08:01 AM
attach gdb to a running process linwenyuan Linux - Desktop 1 10-15-2006 02:50 AM
How can i attach gdb to a daemon process praveengujar Linux - General 0 08-11-2004 07:58 AM
strace restoring my process`s functionality dschulte Programming 1 08-01-2003 01:50 PM


All times are GMT -5. The time now is 02:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration