Skip to main content

Orbix server slow to establish initial connection

  • May 17, 2013
  • 0 replies
  • 0 views

Summary Orbixd makes reverse DNS lookups which will slow the system considerably if the DNS is slow to respond or does not respond to requests.
Article Number 31051
Environment Orbix 3.3.X
Question/Problem Description Orbix server is slow to forward requests.
Some orbixd requests take over 10 seconds to respond.
Clarifying Information Symptoms for a DNS issue are:
Looking at a packet capture, orbixd requests which result in location forward operations will be far slower than other orbixd requests.

In the Orbix log files, connections will sometimes include host names and sometimes IP addresses. 
[ 12:00:00.000 orbixd@server.group.com End of IIOP Connection (10.114.0.9:1570) ] 
and
[ 12:00:00.000 orbixd@server.group.com End of IIOP Connection (hostname.group.com:1570) ] 

The ip address is given if the DNS reverse lookup times out. 

A DTrace of the function gethostbyaddr will show a considerable wait between the entry and exit of the function.
Error Message
Defect/Enhancement Number
Cause The DNS reverse lookup is slow or does not complete, note this is down to an error in how the DNS is configured and not an issue in Orbix. It manifests itself in Orbix as a slow orbixd.
Resolution

Set the orbix configuration variable Orbix.IT_USE_REVERSE_LOOKUP= "NO" 

IT_USE_REVERSE_LOOKUP configuration variable resolves against the DNS and prints out the hostname.

 
and either

Add all IP/Hostname combinations to the etc/HOSTS file

or 

Disable the DNS server

Workaround
Notes
Attachment
Created date: 12 April 2012
Last Modified: 13 February 2013
Last Published: 18 May 2012
First Published date: 18 May 2012


#KnowledgeDocs
#Orbix