Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


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

Rep: Reputation: 0
Why is strace stuck at rt_sigsuspend, when I attach it to named process?


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?

Old 09-18-2008, 01:38 AM   #2
Mr. C.
Senior Member
Registered: Jun 2008
Posts: 2,529

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

Original Poster
Rep: Reputation: 0

Thanks a loooooot!! :-) It worked!


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 06:34 PM
attach a process to init sagar.1986 Linux - General 1 04-24-2007 07:01 AM
attach gdb to a running process linwenyuan Linux - Desktop 1 10-15-2006 01:50 AM
How can i attach gdb to a daemon process praveengujar Linux - General 0 08-11-2004 06:58 AM
strace restoring my process`s functionality dschulte Programming 1 08-01-2003 12:50 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:51 AM.

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