Operating System - HP-UX
1748154 Members
3589 Online
108758 Solutions
New Discussion юеВ

RLOGIN and SSH are slow going OUT but not IN

 
TheJuiceman
Super Advisor

RLOGIN and SSH are slow going OUT but not IN

RLOGIN and SSH going OUT of our box are slow to resolve (30 plus seconds). However, coming IN there is no delay. DNS lookups are correct. Changing nsswitch.conf to look at files does not help. Telnet is fast in and out. Any thoughts why RLOGIN and SSH would be slow going OUT but not IN?
7 REPLIES 7
Denver Osborn
Honored Contributor

Re: RLOGIN and SSH are slow going OUT but not IN

What you described I would've have guessed name DNS...

Have you ruled out DNS completely? Do you have the same results by ssh'ing to an ip addresses vs. hostname?

Is this for all users or just root?


-denver
TheJuiceman
Super Advisor

Re: RLOGIN and SSH are slow going OUT but not IN

It is for all users. I have not ruled out some sort of odd DNS issue, as RLOGIN and SSH do work quickly via IP.
Steven Schweda
Honored Contributor

Re: RLOGIN and SSH are slow going OUT but not IN

> DNS lookups are correct.

_Which_ DNS lookups are correct?

The usual slow-connection problem occurs when
the server can't look up the client's IP
address (to get the client's name). The test
involves (on the server):

nslookup client_IP_address
Johnson Punniyalingam
Honored Contributor

Re: RLOGIN and SSH are slow going OUT but not IN

also check /etc/nsswitch.conf

hosts: files [NOTFOUND=continue] dns [NOTFOUND=return]
Problems are common to all, but attitude makes the difference
TheJuiceman
Super Advisor

Re: RLOGIN and SSH are slow going OUT but not IN

nslookup works fine. nsswitch.conf file is set to look at DNS first then files. The nslookup resolves quickly via DNS as you would expect. Swapping the nsswitch.conf entries does not seem to affect the issue with the telnet/SSH problem.
TheJuiceman
Super Advisor

Re: RLOGIN and SSH are slow going OUT but not IN

This is very peculiar. Now, magically, it seems to be working fine. However, during the time period we were experiencing the slowness, we have the following type of entries in the syslog.log

rlogind[8107]: Non zero exit status (exit(130)) from shell

Any ideas? Thanks
Dennis Handly
Acclaimed Contributor

Re: RLOGIN and SSH are slow going OUT but not IN

>rlogind[8107]: Non zero exit status (exit(130)) from shell

If this was a signal, it would be 128 + 2, which is SIGINT.