linux-um archives
 help / color / mirror / Atom feed
From: Rob Landley <rob@landley.net>
To: Jeff Dike <jdike@addtoit.com>
Cc: user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Getting garbage in ps, as expected...
Date: Thu, 13 Oct 2005 18:41:23 -0500	[thread overview]
Message-ID: <200510131841.23578.rob@landley.net> (raw)
In-Reply-To: <20051013162111.GB5352@ccure.user-mode-linux.org>

On Thursday 13 October 2005 11:21, Jeff Dike wrote:
> On Tue, Oct 11, 2005 at 10:52:51PM -0500, Rob Landley wrote:
> > Great fun.  So I'm using UML in -skas0 mode built from 2.6.13.2, and it's
> > putting fun garbage in the ps display:
> >
> >  7284 ?        S      0:00 [pdflush]
> > 10480 pts/3    R      0:06 ?@???            ?   ?   ?    ???s   F?! @???{
> > 12783 ?        S      0:00 [pdflush]
> >  8454 pts/3    R      0:03  @???{        " ? ???
>
> The garbage is irrelevant.

But annoying.  It's corrupting the ps display and there's no way to killall 
those threads.

> UML is supposed to clean up after itself.  How reproducable is this, and
> how do you do it?

I normally run the build:
(cat /dev/zero | ./buildscript.sh > out.txt 2>&1 &) && tail -f out.txt

(Because the standard "tee" is buggy; it stops sending to a pipe if that pipe 
is ever full, which can happen due to the process it's feeding not getting 
scheduled fast enough.  This includes your xterm.  I fixed this in the 
busybox version...)

In the above, buildscript runs UML, which exits (with a panic) but doesn't 
_stop_.  Also "killall linux" will sometimes leave the garbage threads in T 
state, and when you -CONT them they turn into CPU hogs.

Rob


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

      reply	other threads:[~2005-10-13 23:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-12  3:52 [uml-devel] Getting garbage in ps, as expected Rob Landley
2005-10-13 16:21 ` Jeff Dike
2005-10-13 23:41   ` Rob Landley [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510131841.23578.rob@landley.net \
    --to=rob@landley.net \
    --cc=jdike@addtoit.com \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox