Consultor Eletrônico



Kbase P10673: Slow response from WebSpeed Transaction Server
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   12/16/2008
Status: Unverified

FACT(s) (Environment):

WebSpeed 3.x

SYMPTOM(s):

Slow response from WebSpeed Transaction Server

Server has more than one NIC - Network Interface Card

Local installation of the web server, Messenger, NameServer and WebSpeed Transaction Server

WebSpeed broker using registration mode 'Use Broker LocalHost', or 'Use Host name' with the value of 'localhost'

Long delay before the messenger gets the response from the NameServer when using the following URL:
http://localhost/cgi-bin/wspd_cgi.sh/WService=wsbroker1?VerifyConfig&Level=1

Controlling NameServer location defined as 'Local service' with the host name 'localhost'

CAUSE:

The problem is caused by the long time needed to obtain the response from the DNS (Domain Name Server). This can happen due to the high load imposed on the DNS server, or missing entry for one of the ip addresses defined for the host in the DNS table.

FIX:

If for some reason there is no way to make appropriate changes on the DNS, then do the following:

1. Modify the 'hosts' file to have the ip addresses resolved to the same common host name as defined with the 'hostname' operating system command:

# /etc/hosts file
127.0.0.1 loopback localhost
174.18.32.100 enterprise enterprise.domain.com
174.18.32.101 enterprise1 enterprise.domain.com

Create the file named '/etc
etsvc.conf' :

# /etc
etsvc.conf file
hosts= local, bind

This will cause the name resolution to first look into the local 'hosts' file before going to the DNS. If there is a NIS service used it can be added in the netsvc.conf file as well e.g.:
hosts= local, bind, nis