Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

SCP is slow in 1 out of 3 directions!!! different than most things

 
Highlighted
Regular Advisor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

ok not sure what you are wanting, but here is what it looks like...

khupepc001:/# netstat -rn
Routing tables
Destination           Gateway            Flags Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH    0    lo0       32808
172.27.104.54         172.27.104.54      UH    0    lan900    32808
172.27.111.246        172.27.111.246     UH    0    lan902    32808
172.27.104.215        172.27.104.215     UH    0    lan900:1  32808
172.27.103.214        172.27.103.214     UH    0    lan901    32808
172.27.103.215        172.27.103.215     UH    0    lan901:1  32808
172.27.111.240        172.27.111.246     U     2    lan902     1500
172.27.103.192        172.27.103.214     U     3    lan901     1500
172.27.103.192        172.27.103.215     U     3    lan901:1   1500
172.27.104.0          172.27.104.54      U     3    lan900     1500
172.27.104.0          172.27.104.215     U     3    lan900:1   1500
127.0.0.0             127.0.0.1          U     0    lo0       32808
default               172.27.104.1       UG    0    lan900     1500

 

and on the other machine is

khepx019:/# netstat -rn
Routing tables
Destination           Gateway            Flags Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH    0    lo0       32808
172.27.104.37         172.27.104.37      UH    0    lan900    32808
172.27.103.207        172.27.103.207     UH    0    lan901    32808
172.27.104.0          172.27.104.37      U     2    lan900     1500
172.27.103.0          172.27.103.207     U     2    lan901     1500
127.0.0.0             127.0.0.1          U     0    lo0       32808
default               172.27.104.1       UG    0    lan900     1500

 

 

the problem is pulling a file from khupepc001 when you are logged into khepx019..

if this is not what you are asking please let me know, i am a little confused on this part.

 

Highlighted
Regular Advisor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

here is the netstat -rn from another system it still doesnt work from.


Routing tables
Destination           Gateway            Flags Refs Interface  Pmtu
127.0.0.1             127.0.0.1          UH    0    lo0       32808
172.27.104.55         172.27.104.55      UH    0    lan900    32808
172.27.111.247        172.27.111.247     UH    0    lan902    32808
172.27.103.212        172.27.103.212     UH    0    lan901    32808
172.27.111.240        172.27.111.247     U     2    lan902     1500
172.27.103.192        172.27.103.212     U     2    lan901     1500
172.27.104.0          172.27.104.55      U     2    lan900     1500
127.0.0.0             127.0.0.1          U     0    lo0       32808
default               172.27.104.1       UG    0    lan900     1500

Highlighted
Respected Contributor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

which of these is test1? and which address do you aim at when doing the test that is slow? 

Highlighted
Regular Advisor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

we are logged into khepx019, and are doing a scp khupepc001:/tmp/aectst /tmp/aectst and it takes like 5 minutes, if i am logged into either of them and do a scp /tmp/aectst khupepc001:/tmp/aectst  it takes 5 seconds.

and according to our EMR people this is a major problem.

 

Highlighted
Regular Advisor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

i guess the commands are really setup like this

 

if logged into khepx019 and isues a scp khupepc001:/tmp/aectst /tmp/aectst it takes 5 minutes

if logged into khepx019 and issues a scp /tmp/aectst khupepc001:/tmp/aectst it take 5 seconds

if logged into khupepc001 and issues a scp /tmp/aectst khepx019:/tmp/aectst it takes 5 seconds

hopefully this is a little clearer.

 

Highlighted
Respected Contributor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

From  khepx019 try using individual IP addresses not host names and use each of the IP's that they have. See if there is any difference in the time it takes.

Highlighted
Regular Advisor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

logged into khepx019 doing a scp 172.27.104.54:/tmp/aectst /tmp/aectst takes the standard 5 minutes.

doing a push from khupepc001 scp /tmp/aectst 172.27.104.37:/tmp/aectst takes 5 seconds

doing a push from khepx019 scp /tmp/aectst 172.27.104.54:/tmp/aectst takes 5 seconds.

Highlighted
Respected Contributor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

whats the time for:

 khepx019 doing a scp 172.27.103.214:/tmp/aectst /tmp/aectst

 

Highlighted
Regular Advisor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

5 min

Highlighted
Respected Contributor

Re: SCP is slow in 1 out of 3 directions!!! different than most things

Also, while the 5 minute scp is occurring, what is the connect on the remote system?  netstat -an and look for the "ESTABLISHED" line from the originating server.