Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Nov 2000 01:07:51 +0100
From:      Chive <lex@blacktrap.net>
To:        Zero Sum <count@shalimar.net.au>
Cc:        "FreeBSD Questions (E-mail)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Is My System Hung?
Message-ID:  <20001116010750.A19114@blacktrap.net>
In-Reply-To: <00111610474108.43667@shalimar.net.au>; from count@shalimar.net.au on Thu, Nov 16, 2000 at 10:47:41AM %2B1100
References:  <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF71B@ldcmsx01.lc.ca.gov> <20001116003032.A1299@blacktrap.net> <00111610474108.43667@shalimar.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 16, 2000 at 10:47:41AM +1100, Zero Sum wrote:
> On Thursday 16 November 2000 10:30, Chive wrote:
> > On Wed, Nov 15, 2000 at 10:27:50AM -0800, Drew Tomlinson wrote:
> > > I am attempting to install XFree86 4 from the packages via
> > > /stand/sysinstall.  It downloaded the tarball and then the message
> changed
> > > to "Package XFree86-4.0.1 read successfully - waiting for pkg_add(1)".
> It
> > > has been like this for about an hour.
> > >
> > >
> > >  6687 root          60   0  1280K   836K RUN     55:16 99.02% 99.02%
> dialog
> >
> > Obviously it is waiting for some input from you. Probably a dialog box was
> > supposed to pop up and you can't see it because you're doing it from
> > sysinstall, which is occupying the screen?
> > I'd say kill it and install with pkg_add.
> > I've had the same problems with some ports (eg php) when making in
> background.
> >
> Waiting for input?  In the RUN state?  If it were waiting for input would
> it not be in iowait?
> 

Waiting for input was a bad choice, expecting some input might have been
better phrased, or, expecting to get some way to attract your attention. I
guess it is running a loop trying to get a hold on the terminal.
Anyway, 'dialog' is supposed to pop up a box. Since it can't (it's not running
on a terminal), instead of failing (like you would expect a well-behaved
application to do) it goes berserk. Yuk. May I say, netscapish? ;-)

> 99.02% is tha maximum slice of CPU time that any process can grab.  It is
> in some loop or race condition, surely?
> 

Not doing anything productive, in any case (well, unless you rely on your cpu
for heating the room).
sysinstall is nice but it does have its shortcomings. Or is there an option
for such cases?

-- 
Chive.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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