Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 12:37:19 -0700
From:      Josh Carroll <josh.carroll@gmail.com>
To:        Yuri <yuri@rawbw.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: How can process in STOP state consume 200% CPU?
Message-ID:  <BANLkTinFfyVJVFybjzwq43t3tFE4mm-7cw@mail.gmail.com>
In-Reply-To: <4E0A201D.9000601@rawbw.com>
References:  <4E0A201D.9000601@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, Jun 28, 2011 at 11:40 AM, Yuri <yuri@rawbw.com> wrote:
> I got VirtualBox process in a strange state. It has the status STOP but
> shows by top as consuming 200% CPU for a very long time.
> How is this possible and what does this mean? Process time stays at 0:00
> TIME. kill -9 doesn't kill it.
>
>  PID USERNAME      THR PRI NICE   SIZE    RES STATE   C   TIME    CPU
> COMMAND
>  9390 yuri            3  44    0   508M   246M STOP    3   0:00 200.00%
> VirtualBox

Can you send the output of these various procstat commands:

procstat -kk 9390
procstat -f 9390
procstat -t 9390
procstat -i 9390 | grep -vE -- '---$'
procstat -j 9390 | grep -vE -- '--$'

As well as ps output for the process:

ps auwwx  | grep -w 9390

Also ktrace'ing the process and sending a kdump (or part of it) could be useful.

Thanks,
Josh



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinFfyVJVFybjzwq43t3tFE4mm-7cw>