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.
>
> =A0PID USERNAME =A0 =A0 =A0THR PRI NICE =A0 SIZE =A0 =A0RES STATE =A0 C =
=A0 TIME =A0 =A0CPU
> COMMAND
> =A09390 yuri =A0 =A0 =A0 =A0 =A0 =A03 =A044 =A0 =A00 =A0 508M =A0 246M ST=
OP =A0 =A03 =A0 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 us=
eful.

Thanks,
Josh



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