LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-10-2009, 12:07 PM   #1
blittrell
LQ Newbie
 
Registered: Feb 2009
Location: Silicon Valley
Posts: 19

Rep: Reputation: 0
SSH into server slows down over time


Hi All,

We have some very high utilization servers and it seems that over time ssh'ing into them slows down more and more. I check the memory and utilization and that looks good and when I restart the responds very fast even during heavy periods but after a week or two it slows down more and more. The weird thing is that is seems to slow down creating the shell environment, when I login it I get the username and password prompts pretty fast and it comes back right away with a authenticated but then it just sits there waiting for the command prompt.

I restarted xinetd, network and sshd and none seem to improve it but as I mentioned it seems to be the shell that takes a while to respond and not the services.

Any ideas?

Thanks.
 
Old 11-10-2009, 01:02 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what is the load on the box? any interesting main offenders in "top"?
 
Old 11-10-2009, 01:13 PM   #3
blittrell
LQ Newbie
 
Registered: Feb 2009
Location: Silicon Valley
Posts: 19

Original Poster
Rep: Reputation: 0
The load CPU load is not high, it hovers from 1-20%. With the servers that seem to have this issue there is a lot of disk access, in fact most of utilization is via disk not CPU. Running top there do not seem to be any big offenders, in fact there are not really any offenders at all. At least according to top and free this server should respond very fast.

FYI, forgot to mention the OS, it is SLES 10.2 64 Bit for all the servers that have the issue, really only 3-4 servers have the issue.

Thanks
 
Old 11-10-2009, 02:43 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Can you clarify what this 1-20% value is? Is this same data as from the "uptime" command? Are you swapping data to disk a lot? (free -m)

The only time things like ssh "oddly" slow down tend to be things like DNS reverse lookup timeouts, but you say you're totally past the ssh relevant stages before you notice anything? a few -v's on your ssh command might prove that even further. Doesn't sound like too much to get hold of. nothing in /var/log/messages or /var/log/secure?
 
Old 11-10-2009, 03:45 PM   #5
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 297

Rep: Reputation: 49
Does it only take a while to get to the prompt, or does the connection stay slow all the way?

I once had an nss-related issue (nss-ldap) where it took very long to get to the prompt, after ssh was ok (motd had been replaced, but prompt took another ~20 secs). -- I think it was the lookup for the username in the prompt that took so long.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
software raid 5 write slows down after a time with ext3 gmgarner Linux - General 4 02-23-2009 12:24 PM
Time slows down... alphisb0t Linux - Software 12 02-10-2009 03:00 AM
ssh server connection time out solarbike Linux - Newbie 8 07-29-2008 04:10 AM
FC5 slows down after period of time asidarin Linux - Server 19 06-25-2007 10:46 AM
Performance slows over time with VMware. Why? Apollo77 Linux - General 1 11-24-2004 11:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration