dbTalk Databases Forums  

D3 Linux - Connecting to virtual machine delay being caused by host file entry

comp.databases.pick comp.databases.pick


Discuss D3 Linux - Connecting to virtual machine delay being caused by host file entry in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
matt@ox11.com
 
Posts: n/a

Default D3 Linux - Connecting to virtual machine delay being caused by host file entry - 06-05-2005 , 11:55 AM






Ever since I have used RedHat 9/D3 Linxu 7.4.0 (previously used RedHat
5.2/D3 Proplus), I've experienced a delay when starting D3 on a telnet
session. This delay after "/dev/pts/0: Connected to Virtual Machine
'pick0:LINUX'." is between 10-13 seconds. There is no delay in the
initial telnet and logging into Linux. This is lightning fast.

This delay only exists if there is an entry in the hosts file for that
client that is telnetting in. If there is no entry, the delay does not
exist and d3 starts up instantly.

I need the entries in the host file. Does anyone know what is causing
this?

D3 must be doing some sort of resolving on the IP address or name.
It's opposite to what you'd expect.


Reply With Quote
  #2  
Old   
John Bend
 
Posts: n/a

Default Re: D3 Linux - Connecting to virtual machine delay being caused byhost file entry - 06-05-2005 , 05:24 PM






matt (AT) ox11 (DOT) com wrote:
Quote:
Ever since I have used RedHat 9/D3 Linxu 7.4.0 (previously used RedHat
5.2/D3 Proplus), I've experienced a delay when starting D3 on a telnet
session. This delay after "/dev/pts/0: Connected to Virtual Machine
'pick0:LINUX'." is between 10-13 seconds. There is no delay in the
initial telnet and logging into Linux. This is lightning fast.

This delay only exists if there is an entry in the hosts file for that
client that is telnetting in. If there is no entry, the delay does not
exist and d3 starts up instantly.

I need the entries in the host file. Does anyone know what is causing
this?

D3 must be doing some sort of resolving on the IP address or name.
It's opposite to what you'd expect.

Hi Matt.

What resolver services have you got running on your Redhat box?

John.


Reply With Quote
  #3  
Old   
Ross Ferris
 
Posts: n/a

Default Re: D3 Linux - Connecting to virtual machine delay being caused by host file entry - 06-05-2005 , 05:51 PM



Check to ensure that your Linux machine is pointing to a
valid/functioning DNS server - IIRC a standard Linux install will take
a manually assigned IP address for your machine & work out where it
thinks your DNS server probably is - it has been known to guess wrong !


Reply With Quote
  #4  
Old   
Matt
 
Posts: n/a

Default Re: D3 Linux - Connecting to virtual machine delay being caused by host file entry - 06-06-2005 , 07:11 AM



The server is not pointing to a DNS server. The server is not on the
internet and no other DNS server exists. The clients are using fixed
IP addresses and telnetting to the server IP address and therefore no
name resolving required. I would of expected this delay to exist if
there was nothing in the host file, as there is then nothing to
reference/resolve. However, when an entry exists for that client, the
D3 delay exists.
Also, the other point to remember is that this isn't a Linux delay.
The Linux session is quite happy whether the host file is populated or
not. It is only when D3 is started that the delay exists. D3 must be
doing something with the IP address or host name when it starts up.


Reply With Quote
  #5  
Old   
douglas@pickteam.com
 
Posts: n/a

Default Re: D3 Linux - Connecting to virtual machine delay being caused by host file entry - 06-06-2005 , 09:01 AM



Matt,

What is the problem with just putting all your fixed IP addresses in
the host file? It works for me.

Douglas



Matt wrote:
Quote:
The server is not pointing to a DNS server. The server is not on the
internet and no other DNS server exists. The clients are using fixed
IP addresses and telnetting to the server IP address and therefore no
name resolving required. I would of expected this delay to exist if
there was nothing in the host file, as there is then nothing to
reference/resolve. However, when an entry exists for that client, the
D3 delay exists.
Also, the other point to remember is that this isn't a Linux delay.
The Linux session is quite happy whether the host file is populated or
not. It is only when D3 is started that the delay exists. D3 must be
doing something with the IP address or host name when it starts up.


Reply With Quote
  #6  
Old   
m buller
 
Posts: n/a

Default Re: D3 Linux - Connecting to virtual machine delay being caused byhost file entry - 06-06-2005 , 09:51 AM



matt (AT) ox11 (DOT) com wrote:

Quote:
Ever since I have used RedHat 9/D3 Linxu 7.4.0 (previously used RedHat
5.2/D3 Proplus), I've experienced a delay when starting D3 on a telnet
session. This delay after "/dev/pts/0: Connected to Virtual Machine
'pick0:LINUX'." is between 10-13 seconds. There is no delay in the
initial telnet and logging into Linux. This is lightning fast.

This delay only exists if there is an entry in the hosts file for that
client that is telnetting in. If there is no entry, the delay does not
exist and d3 starts up instantly.

I need the entries in the host file. Does anyone know what is causing
this?

D3 must be doing some sort of resolving on the IP address or name.
It's opposite to what you'd expect.

Matt,

I also had a similar problem, traced it down to iptables. If you are
not connected to the internet try (from root):

service iptables stop

see if this resolves the delay issue.


Reply With Quote
  #7  
Old   
Frank Winans
 
Posts: n/a

Default Re: D3 Linux - Connecting to virtual machine delay being caused by host file entry - 06-06-2005 , 11:14 AM



"Matt" wrote
Quote:
The server is not pointing to a DNS server. The server is not on the
internet and no other DNS server exists. The clients are using fixed
IP addresses and telnetting to the server IP address and therefore no
name resolving required. I would of expected this delay to exist if
there was nothing in the host file, as there is then nothing to
reference/resolve. However, when an entry exists for that client, the
D3 delay exists.
Also, the other point to remember is that this isn't a Linux delay.
The Linux session is quite happy whether the host file is populated or
not. It is only when D3 is started that the delay exists. D3 must be
doing something with the IP address or host name when it starts up.
If you do a linux ps -ef | more from another port during that d3 login
delay, I think you'll find a host command running; in other words, d3
is asking linux to please do some sort of reverse dns lookup. Once you've
verified that assertion, your problem reduces to making that host command
on the linux side run faster. You really ought to state what linux version you
run on, as people reading this thread in Google a year or three from now
won't have the foggiest idea when this release of d3/linux was current...



Reply With Quote
Reply




Thread Tools
Display Modes

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

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.