Re: Re: How can process in STOP state consume 200% CPU?

[ Available lists | Index of freebsd-hackers | Month of Jun 2011 | Week of 29 Jun 2011 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Sergey Babkin <babkin@verizon.net>
Date
29 Jun 2011 01:24:54
Subject
Re: Re: How can process in STOP state consume 200% CPU?
Message-ID
194213048.2218776.1309307083380.JavaMail.root@vznit170078

Replies
Referenced by

[ Hide this part ]
 
Jun 28, 2011 04:29:35 PM, jhell@DataIX.net wrote:
>> I got Vir= tualBox process in a strange state. It has the status
STOP but
>>= shows by top as consuming 200% CPU for a very long time.
>> How i= s this possible and what does this mean? Process time stays
at 0:00
>= ;> TIME. kill -9 doesn't kill it.
>
>
>I would suppose= that because you stopped the clients frontend that
the
>backend has = not been notified and is doing its best to draw to the
>screen causin= g a high CPU usage.
(Sorry about quoting, it doesn't always work wel= l from the web
client).
Most probably the process is running in an endle= ss loop in the
kernel mode.
Where it got after entering the STOP state. = Remember, the signals
are processed
only after the process exits from th= e kernel mode to the user mode,
and so are the
scheduling states. While = it's in the kernel mode, you can't do
anything
to it other than use the = kernel debugger.
-SB

Elapsed time: 0.084 seconds