Operating System - HP-UX
1753701 Members
5022 Online
108799 Solutions
New Discussion юеВ

Ftp session is very slow after getting login prompt on HP-UX 11.11

 
Shreyas 171
Occasional Contributor

Ftp session is very slow after getting login prompt on HP-UX 11.11

ftp session is very slow.

1. system performance is ok.
2. network configuration is also ok. Speed configured on switch and NIC are same.
3. tried to ftp another server in same n/w and it's working fine.
4. tried to get one same file from both servers, problem server took time.
5. Self ftp is also slow.

ssh session is working fine. Only "ftp" session is slow. i.e. At login prompt after entering the username it takes time to ask me for password.

already restarted inetd deamon.

Does any one have any clue wh exactly happening?

regards,
Shreyas
8 REPLIES 8
mvpel
Trusted Contributor

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

A delay in presenting the password prompt is usually caused by name service delays - it's trying to contact a NIS, NIS+, LDAP, or other server to look up the crypt string for that user so that it can compare it to the password entered for the session, and not getting a prompt response.

Check your nsswitch.conf, /etc/passwd, /tcb/files/auth if applicable, and authentication server configuration.

Depending on if you have service security restrictions configured, it may also be trying to look up an IP address, though it usually does that on connection rather than after the username is entered, so you may wish to check your DNS while you're at it.
Shreyas 171
Occasional Contributor

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

Thanks for response.

It's not authenticated through NIS, NIS+ or LDAP. its used for local authentication.

However, after entering password if we issue any command for e.g.: ls; then also it takes time.

And ssh and telnet session are working fine
Artur M.
New Member

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

any strange messages in syslog ?
did you try to run ftpd in debuge mode?

did you try to copy the same file using scp/sftp?

ad 2.
- recheck network configuration. (i.e. default gateway);
- try to change settings on NIC/switch
(is the same problem with i.e. 10Mb?)



Estruc
New Member

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

Hi Shreyas,

I am having exactly the same problem in three of my systems. Have You resolved ?! How !?

Thanks in advantage,
Estruc.

John Guster
Trusted Contributor

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

can you post "grep ftp /etc/services" and "grep ftp /etc/inetd.conf"?
John Guster
Trusted Contributor

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

and what the Lan speed you set to?
Bill Hassell
Honored Contributor

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

The LAN speed is almost always going to be correct. What will severely impact performance is a mismatch for duplex. You can see this by running this command:

lanadmin -g 0

(where 0 is your lan number such as lan0 or lan1). Everything following the word "Index" should be zeros -- no collisions or other errors. If the duplex is mismatched then throughput will be less than a megabyte/sec (rather than 6-8 MB/sec for a 100 Mbit line).


Bill Hassell, sysadmin
Steven Schweda
Honored Contributor

Re: Ftp session is very slow after getting login prompt on HP-UX 11.11

> I am having exactly the same problem [...]

1. Start your own thread for your own
problem. (A link to an old thread can be
useful sometimes.)

2. A forum search for keywords like, say,
slow ftp
or
slow telnet
should find many old, similar threads, with
the usual requests for more info, and the
usual suggestions for diagnosis, and even
some pointers to actual solutions.

Have you looked?