Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 19:24:43 -0500 (CDT)
From:      Sergey Babkin <babkin@verizon.net>
To:        jhell@DataIX.net
Cc:        yuri@rawbw.com, freebsd-hackers@freebsd.org
Subject:   Re: Re: How can process in STOP state consume 200% CPU?
Message-ID:  <194213048.2218776.1309307083380.JavaMail.root@vznit170078>

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

   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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?194213048.2218776.1309307083380.JavaMail.root>