LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-10-2007, 02:27 AM   #1
G00fy
Member
 
Registered: Jul 2004
Location: Herent, Belgium, Europe, Earth
Distribution: Ubuntu 7.04
Posts: 102

Rep: Reputation: 15
Very slow connection speed


Hi,


I have some issues (with Linux networking )... I can resolv addresses like immediately, but when I try to connect it's so slow.

For example... 'dig sqlserver'... Returns a normal dig immediately (query time: 2msec). If I want to connect to it 'ssh sqlserver', it takes exactly 17 seconds to connect (the server is like 5 foot away, connected to a 1000Mbps switch and I am connected directly to this switch as well). I disconnect and reconnect again and again it's 17 seconds.

Once connected, I get normal speeds (up to a few MB/s)...

I really have no idea what could be the problem here.


Could anyone help me here?


Thanks!
 
Old 07-12-2007, 11:56 AM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by G00fy
Hi,

If I want to connect to it 'ssh sqlserver', it takes exactly 17 seconds to connect
With those kind of numbers, what is usually happening is that you have as your first nameserver resolution service something that is never going to work. You try it; you wait for it to time out; you then try something that works.

In other words, its about the order that you try things in.

As a guess, try nameserver switch (that's the one that most people overlook) and check the order there. So look in /etc/nsswitch.conf and check the 'hosts' order there. The first service ought to be one that you expect to work, with the option to fall back to the others if there is something wrong and that first one doesn't work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slow speed network connection in fedora core 6 astrosebas Linux - Networking 8 08-17-2007 09:36 AM
ADSL2 speed slow at connection - Help! henry_shadowjet Linux - Networking 3 03-18-2007 07:40 AM
Newbie help with slow connection speed FrederikVds Linux - Networking 2 07-01-2006 03:19 PM
slow internet connection speed 666 Mandriva 12 09-24-2005 09:54 AM
intel 536EP random connection speed to ISP (<10% 45333 bps, mostly often slow 33000) Emmanuel_uk Linux - Newbie 10 05-16-2005 01:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration