Re: My process wedges the machine.

Umesh Sisodia <[email protected]>
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
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.

Regards,
Umesh

"Webster, Dave/RMD" wrote:
> 
> Hi Umesh,
> 
> I've had similar problems when a process is waiting for children
> it swaned/forked off to finish, and those children hang.  Can you
> check for children of the main, 'wedged' process ('pstree' or similar)?
> Although I would have assumed it's state wouldn't be running if
> it was waiting for a child to die.  Also, are you sure it's the main
> processes that's 'wedged', and not a forked child of it?
> 
> Cannot you kill the process with kill, kill -1, kill -14 or kill -9?
> I've not heard of too many non-zombie processess impervious to
> the kill -9 from root?  Maybe you don't have correct permissions?
> 
> If you've tried gdb-ing to it, it's probably a C/C++ app, not Java,
> eh?  Maybe you're conditionally forking off a child process, or
> making a db connection isn't closing and your app. is patiently
> waiting.
> 
> Hmmm, just some random guesses.  Sorry.
> 
> p.s. I've not heard the phrase 'wedged' applied to knackered
> programs before.  Cool, a new term to fob annoying clients off
> with ("Sorry Gale, the program is wedged until Thursday.").
> 
> -d.w.
> :-)
> 
> 
>         -----Original Message-----
>         From: Umesh Sisodia [mailto:[email protected]]
>         Sent: Tue 20/05/2003 12:36
>         To: [email protected]
>         Cc:
>         Subject: My process wedges the machine.
> 
> 
> 
>         Hi
> 
>         We have recently ported our tools to Red hat linux.
>         In one of our application we are facing the problem that it wedges
>         the machine. Log file shows that process has completed its job, but
>         then machine almost hangs.
> 
>         -Process cannot be killed.
>         -process is in run state (not waiting on I/O)
>         -process run time keeps incrementing endlessly.
>         -process memory size is low (41MB)
>         -gdb cannot attach to the process.
> 
>         This does not happen in every run, but happens randomly once in a
>         while. The machine is IBM with 1xCPU (Xeon 2.4MHz) 4GB RAM running
>         the RH7.3 BigMem kernel.
>         Regards,
>         Umesh
> 
> 
>         --
>         ******************************************************
>         Umesh Sisodia (Sr. Member of technical staff)
>         Cadence Design Systems, NEPZ, Noida, India
>         Ph: (off) 91-120-2562842, ext. 4298
>         (mobile) 98112 04168, (Res) 91-120-2578734
>         email : [email protected]
>         ******************************************************
> 
> 
>         _______________________________________________
>         Redhat-devel-list mailing list
>         [email protected]
>         https://www.redhat.com/mailman/listinfo/redhat-devel-list
> 
> 
>   ------------------------------------------------------------------------
>                   Name: winmail.dat
>    winmail.dat    Type: application/ms-tnef
>               Encoding: base64

-- 
******************************************************
Umesh Sisodia (Sr. Member of technical staff) 
Cadence Design Systems, NEPZ, Noida, India
Ph: (off) 91-120-2562842, ext. 4298 
(mobile) 98112 04168, (Res) 91-120-2578734 
email : [email protected]
******************************************************
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.