Tracing hung processes through the ppid - LUX.ET.UMBRA
3

Tracing hung processes through the ppid

| | Comments (0) | TrackBacks (0)

One of the easiest ways to troubleshoot hung processes is trace it to the source. This works for cpu intensive things also, when dealing with a *nix based system. So if you look at the process ids, there are always a parent process id that's associated with it.

It's usually always in this format:

So if you just trade those ppids as the pid, you can eventually find out what script or tool is dragging your entire system down. Basics of troubleshooting processes, but you'd be surprised how many people do not understand it.

If the process is eventually owned by root (or pid of 1) then it's been zombied meaning the parent dropped out and tossed the reins to the root process. Zombie processes sometimes can actually never go away until they're killed and just sit there taxing resources from your system.

0 TrackBacks

Listed below are links to blogs that reference this entry: Tracing hung processes through the ppid.

TrackBack URL for this entry: http://life.firelace.com/mt-cgi/mt-tb.fcgi/7583

Leave a comment

 

About this Entry

This page contains a single entry by darkmoon published on May 30, 2008 12:01 AM.

How to create automatic ftp scripts in bash was the previous entry in this blog.

On-Stage holographic teleconferencing is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

 

 

 

 

Powered by Movable Type 4.13