Scheduling problems

From: Chris Boot (bootc_at_bootc.net)
Date: 05/07/04

  • Next message: Toby Batch: "Re: Imapd trouble"
    To: debian-user@lists.debian.org
    Date: Fri, 7 May 2004 14:22:50 +0100
    
    

    Hi,

    I'm having several problems concerning scheduling on my linux box. I'm
    running it as a server and therefore I'd like it to be as reliable as
    possible, but several niggling factors force me to reboot the box
    relatively often.

    The biggest problem I have is if there is no CPU idle time (as reported
    by top(1)) processes take a very long time to start up, and sometimes
    even fail to start entirely. I can trigger this very easily and it is
    very reproducible. I tried to run the Distributed.net client at some
    point but it ground my system to a halt (even nice'd to 19). This
    prevents me from logging in using SSH to kill the offending process, or
    checking my email, or any other task that requires starting processes.

    The next biggest problem is related to the above, I think. When I
    connect to my box using SSH, and the connection is broken somehow, the
    SSHd process takes up all the available CPU after just a couple of
    seconds. All I need to do to trigger this is to connect to the server,
    then kill the SSH client process. After a few seconds, the server
    process reaches 99.9% CPU usage:

    [bootc@arcadia bootc]$ pa | grep notty
    bootc 24408 99.9 0.4 10688 3928 ? R 14:15 0:38 sshd:
    bootc@notty
    bootc 24448 0.0 0.0 1576 496 pts/7 S+ 14:16 0:00 grep
    notty

    I'm running Debian Sarge on Linux 2.6.5 with no special patches. The
    machine is a Shuttle XPC with an Athlon XP2000+ and 1GB of RAM. The
    problems have occurred for as long as I can remember, definitely all
    along the 2.6 kernel series, but most probably before then too.

    Thanks for any pointers people can give me...

    Regards,
    Chris

    -- 
    Chris Boot
    bootc@bootc.net
    http://www.bootc.net/
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Toby Batch: "Re: Imapd trouble"

    Relevant Pages

    • Re: SMTP Routing through SSH
      ... >> I have a Linux server running Red Hat 8.0 in my attic that I connect to ... I use port forwarding to reach a VNC server on port 5904. ... > access it from any computer I can ssh in from. ... Just as if you were trying to relay your web browsing ...
      (comp.os.linux.networking)
    • Re: Poor PostgreSQL scaling on Linux 2.6.25-rc5 (vs 2.6.22)
      ... 10ms, then if your ssh only needs average of 5ms of CPU time per second, ... CPU time per second, then it has to wait for 2 seconds anyway to be run ... regardless of whether the timeslice was 10ms or 20ms. ... Just because tpc-c runs are set up so the number of server threads ...
      (Linux-Kernel)
    • Re: security on linux
      ... Also, I restrict my ssh ... there a web server with PHP scripting and a MySQL database ... same time that half of the zombies on the 'net were stock Linux boxes. ... configuring stuff, ...
      (comp.os.linux.misc)
    • Re: [SLE] Remote Administration
      ... I just logged into my Linux server from WinXP using Cygwin (I was using it ... for XWin - unsecure) via XDMCP to get a remote desktop. ... > Can anyone give me a short description of what SSH is? ...
      (SuSE)
    • Re: X Windows App
      ... I have Cygwin running on my workstation connecting to one of my Linux ... From my linux server I connect to a client's Linux server ... display. ... The DISPLAY set on the Linux system is the ssh tunnel back to Your ...
      (comp.os.vms)