logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: Debugging pbs_server: msg#00074

Subject: Re: Debugging pbs_server
you can set an environment variable PBSDEBUG=yes before you start
pbs_server under gdb.  this will keep it from forking

On 6/20/07, Adam Steenwyk <ajamess@xxxxxxxxx> wrote:
Hello everyone,

I am debugging some of the GSSAPI branch code and am wondering how to debug
the pbs_server code.  Debugging the mom is pretty straightforward, as it
does not fork off children.  However, the server does and is causing
headaches as to coming back to the parent process after a fork.  I am using
gdb set follow-fork-mode child to get to the children, but am confused as
how to get back to the parent once the children are gone.  I don't think set
follow-fork-mode parent within the child is the solution.  Is there a way to
build / configure the server such that it does not fork?  Better yet, is
there a tool I can be using to help debug this stuff easier?

Thanks,

Adam.
CAC - University of Michigan

_______________________________________________
torqueusers mailing list
torqueusers@xxxxxxxxxxxxxxxx
http://www.supercluster.org/mailman/listinfo/torqueusers




<Prev in Thread] Current Thread [Next in Thread>