Re: My process wedges the machine.

Tim Writer <[email protected]>
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
Umesh Sisodia <[email protected]> writes:

> Hi Dave,
> 
> Thanx for your time.
> Ya, its a C++ aplication. I am sure it is not forking any child.
> It is not waiting, infact it is consuming lots of CPU time.

It sounds like you have an infinite loop.  Can't you run it under gdb, rather
than attaching to it?  Alternatively, try to make it dump core by sending it
a QUIT signal.  You can then use gdb "post mortem" to investigate where the
program was executing when the signal arrived.  This method will require you
to raise your coredumpsize limit above the Red Hat default (which is 0).

-- 
tim writer <[email protected]>                                  starnix inc.
tollfree: 1-87-pro-linux                        thornhill, ontario, canada
http://www.starnix.com              professional linux services & products
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.