AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  'Ghost' Process using CPU and Memory

    Posted Thu February 14, 2008 08:03 AM

    Originally posted by: SystemAdmin


    I have a process running that I believe is a kshell built-in /usr/bin/wait.

    The process is using all CPU/Memory.

    Problem is I cannot kill this process
    kill 8196
    process id does not exist

    ps -aux | grep wait
    USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
    root 8196 97.6 0.0 40 36 - A 13 Nov 129540:31 wait
    Any ideas?


  • 2.  Re: 'Ghost' Process using CPU and Memory

    Posted Thu February 14, 2008 08:15 AM

    Originally posted by: orphy


    What's the PPID of 8196?

    If it's 0, it's a system wait process and you don't want to kill it. But if you think it's causing you CPU/memory issue, you might wish to contact Support about it. Who knows? There might be APARs out there for this.

    Please show output of "ps -fp8196".
    Orphy


  • 3.  Re: 'Ghost' Process using CPU and Memory

    Posted Thu February 14, 2008 08:23 AM

    Originally posted by: SystemAdmin


    Cheers for the update mate.

    Contacted Our Support Team and they're at a loss.

    ps -fp8196
    UID PID PPID C STIME TTY TIME CMD
    root 8196 0 0 13:02:22 - 16:34 wait

    Cheers again


  • 4.  Re: 'Ghost' Process using CPU and Memory

    Posted Thu February 14, 2008 08:20 AM

    Originally posted by: tony.evans


    That's not a process.

    It's a psuedo-process which shows how much time the processor is spent waiting for something to do.

    Used cpu time = all process time + wait

    It's a common error to assume 'wait' is using your CPU time, it's not. (You get multiple wait processes on multi-cpu machines).

    Message was edited by: tony.evans


  • 5.  Re: 'Ghost' Process using CPU and Memory

    Posted Thu February 14, 2008 08:25 AM

    Originally posted by: SystemAdmin


    Ahh, good.

    Thankyou