Holger Schurig wrote on Wed, Aug 21, 2002 at 06:33:35PM +0200 :
> Hi Todd !
> 
> > Same thing with vi.
> Do you have any idea why this happens?   I have some database servers with 

This is an educated guess more than anything.  When the application
loses the connection to its controlling terminal, it consumes 100% CPU
because it is trying to communicate with said controlling terminal.

At some point in the past, I was able to reliably repeat the scenario.
It seems to be much more difficult now to do it (on my Cooker box, I
haven't yet tried it on an 8.x box).

I should stress that it is infrequently.  It is most usually seen when
a remote ssh session has timed out while in vi editing something, but
not every time. :-/

Back when ipchains was king, the following line severely cut down on the
number of ssh drops that occurred:
   ipchains -M -S 7200 10 160
but if you're not using ipchains, then that line doesn't do you a whole
lot of good.

Blue skies...                   Todd
-- 
  Todd Lyons -- MandrakeSoft, Inc.   http://www.mandrakesoft.com/
UNIX was not designed to stop you from doing stupid things, because 
  that would also stop you from doing clever things. -- Doug Gwyn
   Cooker Version mandrake-release-9.0-0.3mdk Kernel 2.4.19-4mdk

Attachment: msg57171/pgp00000.pgp
Description: PGP signature

Reply via email to