Hi Curtis,

Is such an entry in /etc/hosts really necessary? My /etc/nsswitch.conf has "dns files" for resolving host names. I configured SGD for one fully qualified domainname that can be resolved via dns to the ipaddress of the machine. SGD basically works for me. However, it is extremely slow. It takes 30-40s (telnet) to fireup a Window Maker FullScreen session and that on a 2 x 1.6GHz machine with nothing else to do and even much more when using ssh for the connection method. The old SunFire 280 2 x 900MHz presented a better performance. I am wondering whether this is due to a suboptimal configuration of SGD (timeouts,...). Any idea how I could further track this down?
Possibly caused by SGD timeouts. More info here:
http://docs.sun.com/source/820-2550/launch_timeouts.html

Some other thoughts .. are your SGD application servers configured by IP or hostname?

Fully qualified hostname!

I'm wondering if they're hostname, and the dns lookups are taking a long time.

        nslookup <hostname>

returns the correct address immediately!

Outside of an SGD session, test from a command line on the SGD box
- nslookup <sgd-peer-hostname> [this is typically the name you set at install time]
- nslookup <application-server>
- test making a connection to the app server (e.g. ssh/telnet, etc).

No problem at all.

If the above results show slow DNS (I've seen this, and also intermittent/flakey DNS responses) then try putting the DNS names into the SGD server /etc/hosts and modifying nsswitch.conf so it reads "files dns" i.e. reverse the order... then run the above tests.

Note the SGD install guides says DNS is a requirement and we always push for this, but this alternative approach falls under the "unless you know what you're doing" umbrella :)

I just tried it again with telnet as teh conenction method. It takes 45s fo rthe fullscreen session to come up. That's too long! :-(

Which hostname exactly is SGD connecting to if SGD server and application server are the same and if no hosts are specified for the application being started? I would assume localhost.

I just tried "nslookup localhost" and this gives a suboptimal response:

-bash-3.00# nslookup localhost
Server:         192.168.1.230
Address:        192.168.1.230#53

** server can't find localhost: NXDOMAIN

My /etc/hosts file has the following entry

        127.0.0.1       localhost

and /etc/nsswitch.conf has

        hosts:      files dns

I am wondering why "nslookup localhost" fails and whether this is related to the problem! :-(

Thanks,

  Andreas

_______________________________________________
SGD-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sgd-users

Reply via email to