[26511] in Athena Bugs

home help back first fref pref prev next nref lref last post

sshd uses up a large amount of CPU and RAM

daemon@ATHENA.MIT.EDU (Kevin Chen)
Mon Aug 22 14:23:44 2005

Date: Mon, 22 Aug 2005 14:23:03 -0400 (EDT)
From: Kevin Chen <kchen@mit.edu>
To: bugs@mit.edu
Message-ID: <Pine.LNX.4.62L.0508221416410.15586@scyther.mit.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
X-Spam-Score: 1.041
X-Spam-Level: * (1.041)
X-Spam-Flag: NO
Errors-To: bugs-bounces@mit.edu

On assassin.mit.edu, a Linux-Athena 9.3.18 machine:

>From top:

  14:17:21  up 20 days, 15:32,  1 user,  load average: 2.21, 2.30, 1.54
94 processes: 90 sleeping, 3 running, 1 zombie, 0 stopped
CPU states:  cpu    user    nice  system    irq  softirq  iowait    idle
            total   14.8%    0.0%   85.1%   0.0%     0.0%    0.0%    0.0%
Mem:   503352k av,  497944k used,    5408k free,       0k shrd,    2084k 
buff
                     366936k actv,   68264k in_d,    6784k in_c
Swap: 4249152k av, 2731668k used, 1517484k free                   13880k 
cached

   PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
15095 hongyihu  25   0 2303M 200M    44 R    52.2 40.6   6:24   0 sshd
15103 hongyihu  25   0 2123M 202M    44 R    47.2 41.2   5:06   0 sshd

Also note the load average and the high swap use.  We were previously 
encountering problems with the machine freezing randomly (and needed to be 
force-rebooted) when we only had 512 MB of swap -- it looks like this sshd 
problem is causing it.

After I killed these sshd processes, memory usage dropped to 66 MB in use 
and swap dropped to 317 MB in use.  Hongyi tells me he wasn't doing 
anything other than attempting to SSH in to the machine, and that it 
didn't successfull log him in.

--
Kevin Chen
http://www.sneswhiz.com/

home help back first fref pref prev next nref lref last post