On Fri, 5 Jul 2002 22:17:15 -0700
Todd Lyons <[EMAIL PROTECTED]> wrote:

> James wrote on Tue, Jul 02, 2002 at 03:36:23PM +0000 :
> > 
> > 98% of my CPU.......... 
> > The program ...... VI yep it had been up for about 2 hours and was
> > slowly consuming all my cpu power.   Has anyone else noticed this or
> > better yet can anyone else duplicate it.  I'd like to know if this is a
> > bug or a one off.
> 
> I can reproduce this since RedHat version 6.2, but only in an error
> scenario.
> 
> 1) ssh to a box.  Any box, it doesn't matter.  'vi file'
> 2) close the window that you ssh'd from (or let it time-out if you ssh'd
> to a remote box outside of your firewall, ie not on your local lan)
> 3) ssh back to that box and you'll see that it is consuming 99% CPU
> 
> I don't have a technical reason why it happens, but it does. (seems to
> be related to vi losing its controlling terminal).  You have to kill -9
> it get rid of it.  killall -9 vi works too.
> 
> As for why it did this to you on a still running instance of vi, I'm not
> sure.  A surefire way of finding this in the future is to do a ps ax or
> ps aux and look for a process with a very high CPU time number.
> 
> Blue skies...         Todd


i was able to do this with mcedit as well. sometimes after
working with mcedit in a konsole, if i simply close the window
without exiting mcedit, it keeps running in the background
taking up to 90% of my cpu..

however it doesn't happen every time and i have to try 
several times to reproduce it.

Damian

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to