The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Red Hat
.
google unix.com



Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unavailable/Slow Network Paths in $PATH acheong87 SUN Solaris 2 06-03-2009 06:40 PM
Squirrelmail Rhel5 saurabh84g Red Hat 1 10-16-2008 01:33 PM
ESC sequence on RHEL5 amit1_x Linux 2 04-28-2008 11:37 AM
How to send big files over slow network? giribt AIX 1 01-27-2008 10:50 AM
network speed is slow q30 UNIX for Advanced & Expert Users 3 05-28-2003 05:16 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-09-2009
amheck amheck is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 16
slow network on RHEL5

hey guys,

We have two Sun x2100 servers running RHEL5 in a test environment. Both servers are fresh OS installs and hooked up to the same network switch.

When ssh'ing to one server, there is a significant delay, while ssh'ing to the other server, the connection is almost instant. We are also having trouble getting some authentication test code to work correctly and believe it might be the cause of this delay.

On the "slow" server, I have replaced the cable, changed switch ports and ethernet ports on the server, but the delay is still there. Both servers are set to full duplex.

Just wondering if you guys could give me some other avenues to check. I'm guessing there's some configuration differences between server A and server B, but I'm not exactly sure what to look for.

Thanks in advance,
Aaron
  #2 (permalink)  
Old 09-09-2009
Radar's Avatar
Radar Radar is offline
Registered User
  
 

Join Date: Dec 2006
Location: Clifton Park, NY
Posts: 86
Just a stab - Sometimes the slowness with SSH is that the remote sshd is trying to do a reverse DNS lookup to the client. Try commenting out any DNS servers in /etc/resolve.conf on the "slow" server and test. If that works, chances are. it's because your server is unable to communicate with the DNS server.
  #3 (permalink)  
Old 09-09-2009
amheck amheck is offline
Registered User
  
 

Join Date: Dec 2005
Posts: 16
Oh my, I think that did it!

On the slow server, /etc/resolv.conf had:
; generated by /sbin/dhclient-script
nameserver 10.10.10.1

and on the fast server, /etc/resolv.conf was:
search localdomain

so I just removed the name server entry and replaced with the "search localdomain" and its much faster now.

I think I must have just put in a dummy 10.10.10.1 IP when setting up the interface.

And to top it off, our authentication code works to the "slow" server now too.

Thanks!!!!!!!!
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:08 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0