1836838 Members
2308 Online
110110 Solutions
New Discussion

Re: FTP Problem

 
Paul_481
Respected Contributor

FTP Problem

Hi Guys,

I have 2 servers on different locations. Server A ( Compaq Alpha Server) and Server B ( HPUX 11.11 rp8400).

When I connected to Server A using ftp and perform a "get", the ave. transfer rate is 15 Kb/s.

But when I try to connect to Server A using ftp and perform a "put", the ave. transfer rate is 800 Kb/s.

Any ideas why is it slow on the "get"? How can I increase the transfer rate?

Regards,
Paul
16 REPLIES 16
Yogeeraj_1
Honored Contributor

Re: FTP Problem

hi Paul,

should we assume that when you did the tests there was nobody else on the system?

In the meanwhile, you may can get some clues from the following post: http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=783118


regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Eric Antunes
Honored Contributor

Re: FTP Problem

Hi Paul,

Indeed you have a very slow connection between those 2 servers! I have always (put or get) more than 10000 Kbytes/s between my 2 servers: both servers are directly connected to the same switch. How are yours??

Best Regards,

Eric Antunes
Each and every day is a good day to learn.
Paul_481
Respected Contributor

Re: FTP Problem

Hi,

Actually the 800 Kbps rate is normal to us since this server are on different geographic location.

What I want to know is why any upload from server A to B is slow ( 15 kbps). I want to achieve at least 800 kbps for upload which is equal to the download speed.

regards,
Paul
Eric Antunes
Honored Contributor

Re: FTP Problem

Is there any firewall between the servers? Have you tested with the same user and directory??

Eric
Each and every day is a good day to learn.
Paul_481
Respected Contributor

Re: FTP Problem

Hi,

Yes, there's a firewall. The confusing part is that there are 2 other servers that I am accessing using ftp and the transfer rate is acceptable ( 1 Mbps).

But for this particular server (Server A) I have a problem downloading the files.

Regards,
Paul

Re: FTP Problem

Hi Paul,

We've had similar problems. This was caused by our network switch that used auto-negotiate for determining the network speed.
Ensure that both your servers and your network switch are fixed to 100 Mbps full duplex.

Grtz,

Peter.
Gerhard Roets
Esteemed Contributor

Re: FTP Problem

HI Paul

Could you try your tests again. This time use "passive mode" ftp.

(from srva)
ftp
open srvb
quote pasv
put filename
close

and

(from srvb)
ftp
open srva
quote pasv
get filename
close

Could you post your new "scores" here please.

HTH
Gerhard
Paul_481
Respected Contributor

Re: FTP Problem

Hi,

Its seems that the passive mode didn't work

DOWNLOAD server B
4957927 bytes sent in 7.91 seconds (611.85 Kbytes/s)

UPLOAD server B
4957927 bytes received in 358.70 seconds (13.50 Kbytes/s)

our LAN config is still auto-nego, still coordinating with server B sysad about that.

Regards,
Paul

Gerhard Roets
Esteemed Contributor

Re: FTP Problem

Hi Paul

If you telnet from ServerA to ServerB ... does the login prompt pop up quickly.

If you telnet from ServerB to ServerA ...
does the login prompt pop up quickly

PS. Use the same naming strategy as with ftp i.e. if you ftp by ip telnet by ip ... if you ftp by hostname telnet by hostname

Regards
Gerhard
Jan Sladky
Trusted Contributor

Re: FTP Problem

Hi Paul,

is it regarding only to FTP ?

try ping A -> B and vice versa

traceroute A and B

and post results

rgds Jan
GSM, Intelligent Networks, UNIX
Betty Fessler
Frequent Advisor

Re: FTP Problem

Usually when one of my systems transfer rates is down in the teens I find that either
the lan card has a problem or the system setting and switch setting of the lanspeed/duplex don't agree. On the hp servers I usually set the prom level for the speed/duplex by interrupting the boot and setting it in "co lc" and then set the software level in hpbtlanconf (hpux11.11)in /etc/rc.config.d for the same. The lanadmin also has to dial into the switch and set the drop for the same. I've found the only thing to make sure the duplex is right is setting the prom level. The lanadmin can set the switch to auto and see if your getting runts/giants and running at half duplex. If so it takes a reboot to change the duplex usually. Once it says Full then the lanadmin should reset the switch. Thing to remember is once the system is set, then the switch needs to be set also. Also 10HD is usually faster than 100HD because at 100HD the switch usually gets too many collisions and the router will shut it down.
Paul_481
Respected Contributor

Re: FTP Problem

Hi,

Here's the result of the ping and traceroute

#ping 192.168.250.40
PING 192.168.250.40: 64 byte packets
64 bytes from 192.168.250.40: icmp_seq=0. time=3. ms
64 bytes from 192.168.250.40: icmp_seq=1. time=3. ms
64 bytes from 192.168.250.40: icmp_seq=2. time=7. ms
64 bytes from 192.168.250.40: icmp_seq=3. time=3. ms
64 bytes from 192.168.250.40: icmp_seq=4. time=2. ms
64 bytes from 192.168.250.40: icmp_seq=5. time=3. ms
64 bytes from 192.168.250.40: icmp_seq=6. time=3. ms
64 bytes from 192.168.250.40: icmp_seq=7. time=7. ms
â ¥
----192.168.250.40 PING Statistics----
8 packets transmitted, 8 packets received, 0% packet loss
round-trip (ms) min/avg/max = 2/3/7

cscpcc@idmp003 [/home/cscpcc]
#traceroute 192.168.250.40
traceroute to 192.168.250.40 (192.168.250.40), 30 hops max, 20 byte packet
1 9.9.8.94 (9.9.8.94) 1 ms 1 ms 1 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
*** max ttl expired before reaching 192.168.250.40 (192.168.250.40)

regards,
P
Ranjit_3
Advisor

Re: FTP Problem

Hi Paul ,
As these two servers are located at diferent locations , there are a numbers of routers and also as you told there is a firewall .
There might be a possibility that there is a bandwidth rate limit fixed for outbound / inbound for any of these servers at router / firewall level.Please check up with the betwork admin .
Are you getting this low speed when you do ftp ( get ) only .If you do a rcp from server A to B ( $rcp B:/tmp/testfile . ) what is the spped that you get .

Thanks and Regards,
Ranjit
Paul_481
Respected Contributor

Re: FTP Problem

Hi,

Yes the other server is on another site running on tru64. I am still coordinating with the network admin regarding the issue.

As i said, the the problem is on the download only, any upload speed on the tru64 are all acceptable.

If the problem is routing or auto-nego, why is the problem one way only? Can anyone explain the probable reason?

Regards,
Paul
Yogeeraj_1
Honored Contributor

Re: FTP Problem

hi paul,

can you tell us more about the communication network linking your 2 sites? Is this Frame Relay, Leased line or satellite communication?

regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Eric Antunes
Honored Contributor

Re: FTP Problem

Paul,

The only possible cause I see is that your writes (ftp put) may be slow relative to reads (ftp get): see iostats during the get and the put operations:

#iostat -t 10 100

Best Regards,

Eric Antunes
Each and every day is a good day to learn.