- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SCP is slow in 1 out of 3 directions!!! differ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2013 11:43 AM - last edited on 01-03-2013 06:07 PM by Maiko-I
01-02-2013 11:43 AM - last edited on 01-03-2013 06:07 PM by Maiko-I
SCP is slow in 1 out of 3 directions!!! different than most things
ok if i do a scp test1:/tmp/junk /tmp/junk it takes over 5 minutes from machine test2, if from test1 i run the same thing copying from test2 to test1 (scp test2:/tmp/junk /tmp/junk) it takes 5 seconds. We have verified /etc/hosts tables, DNS entries are correct.
We have been working with HP, Cisco, Epic and no one knows what is causing this? So i am sending out this help call from anyone with any ideas? ...
these are HP-UX blades, running 11vi3.
thanks for any ideas.
P.S. this thread has been moved from HP-UX>System Administration to HP-UX>networking - HP Forums moderator
- Tags:
- scp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 05:17 AM
01-03-2013 05:17 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
I would start with a verification of the ssh versions on each machine:
ssh -V
If they all match, check the KNRG (random number generator) module on each system:
swlist -a readme -a mod_time -a revision -a software_spec -l fileset OS-Core.RNG-DKRN
(they should all match)
Also check both systems with top during the slow transfer period.
Does one of systems have exceedingly large amounts of CPU time?
Finally, make sure that name resolution is identical on both systems. Use nsquery rather than nslookup:
nsquery hosts systema nsquery hosts systema.mydomain.com nsquery hosts 10.11.12.13 nsquery hosts systemb nsquery hosts systemb.mydomain.com nsquery hosts 10.11.12.14
Be sure to query the remote AND the local host by name, fully qualified name and by IP address.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 06:29 AM
01-03-2013 06:29 AM
Re: SCP is slow in 1 out of 3 directions!!! Different than most things
I have seen this happen when the routing tables are wrong. Often multiple routes in the table causing one host to try multiple paths with each packet sent. What does netstat -rn show on test1? Try a traceroute from test1 to test2 and see what it reports back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 07:44 AM
01-03-2013 07:44 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
all of the ssh -v, swlist -a readme -a mod_time -a revision -a software_spec -l fileset OS-Core.RNG-DKRN, and the nsquery's have worked fine so far, I am having my Networking team look into the routes...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 10:46 AM
01-03-2013 10:46 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
we checked routing tables and stuff, i was told it is on the same layer 2, no hopping, tables all look good according to our head NE person.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:06 AM
01-03-2013 11:06 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
So what was the output from netstat -in and the results of traceroute from test1 to test2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:13 AM
01-03-2013 11:13 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
traceroutes only showed 1 jump, to the other machine, both directions...and is it a netstat -rn or netstat -in, the -rn showed routing tables, but the network engineers said they were fine, and if we go to one of the other new machines, that has this same problem with NO additional routes, it still fails.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:17 AM
01-03-2013 11:17 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
Sorry, netstat -rn.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:22 AM
01-03-2013 11:22 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
ok, the netstat -rn just shows the routes, correctly accoding to the Head Network Engineer, they match up, cluster packages are good, etc...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:25 AM
01-03-2013 11:25 AM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
Marvin, if you dont post results then there is no point to asking for help here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:30 AM
01-03-2013 11:30 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:31 AM
01-03-2013 11:31 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:42 AM
01-03-2013 11:42 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:44 AM
01-03-2013 11:44 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:47 AM
01-03-2013 11:47 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:48 AM
01-03-2013 11:48 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 11:53 AM
01-03-2013 11:53 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 12:05 PM
01-03-2013 12:05 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 12:12 PM
01-03-2013 12:12 PM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
5 min
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 12:12 PM
01-03-2013 12:12 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 12:17 PM
01-03-2013 12:17 PM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp 0 0 127.0.0.1.49163 *.* LISTEN
tcp 0 0 *.135 *.* LISTEN
tcp 0 0 *.50006 *.* LISTEN
tcp 0 0 *.49157 *.* LISTEN
tcp 0 0 127.0.0.1.49154 *.* LISTEN
tcp 0 0 *.515 *.* LISTEN
tcp 0 0 *.4045 *.* LISTEN
tcp 0 0 *.49159 *.* LISTEN
tcp 0 0 127.0.0.1.49163 127.0.0.1.706 ESTABLISHED
tcp 0 48 172.27.104.37.22 172.27.104.54.61319 ESTABLISHED
tcp 0 0 127.0.0.1.706 127.0.0.1.49163 ESTABLISHED
tcp 0 0 127.0.0.1.7161 *.* LISTEN
tcp 0 0 *.49166 *.* LISTEN
tcp 0 0 172.27.104.37.10443 172.27.104.52.50896 FIN_WAIT_2
tcp 0 0 *.49160 *.* LISTEN
tcp 0 0 172.27.104.37.10443 172.27.104.247.55537 ESTABLISHED
tcp 0 0 *.22 *.* LISTEN
tcp 0 0 172.27.103.207.52972 172.27.103.214.22 ESTABLISHED
tcp 0 0 172.27.104.37.22 172.25.114.131.54409 ESTABLISHED
tcp 0 0 *.901 *.* LISTEN
tcp 0 0 *.7815 *.* LISTEN
tcp 0 0 *.587 *.* LISTEN
tcp 0 0 *.6112 *.* LISTEN
tcp 0 0 *.5303 *.* LISTEN
tcp 0 0 *.25 *.* LISTEN
tcp 0 0 *.49158 *.* LISTEN
tcp 0 0 172.27.104.37.10443 172.26.104.52.60958 ESTABLISHED
tcp 0 0 *.111 *.* LISTEN
tcp 0 0 172.27.104.37.49156 172.27.16.122.389 ESTABLISHED
tcp 0 0 *.2121 *.* LISTEN
tcp 0 0 *.6389 *.* LISTEN
tcp 0 0 *.2049 *.* LISTEN
tcp 0 0 172.27.104.37.52979 172.27.104.37.1712 TIME_WAIT
tcp 0 0 *.5989 *.* LISTEN
t\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 01:04 PM - edited 01-03-2013 01:06 PM
01-03-2013 01:04 PM - edited 01-03-2013 01:06 PM
Re: SCP is slow in 1 out of 3 directions!!! different than most things
What catches my attention is the scp from khepx019 appears to create the following connection:
tcp 0 0 172.27.103.207.52972 172.27.103.214.22 ESTABLISHED
While khepx019 has:
172.27.103.207 172.27.103.207 UH 0 lan901 32808
172.27.103.0 172.27.103.207 U 2 lan901 1500
khupepc001 has:
172.27.103.214 172.27.103.214 UH 0 lan901 32808
172.27.103.192 172.27.103.214 U 3 lan901 1500
That would seem to indicate that your APA pseudo interface 901 on khupepc001 is trying to route traffic to a specific host, unless 172.27.103.192 is a different router.
I notice that on both non-khepx019 hosts your 900 based interfaces use a standard self and subnet route but the pseudo 901 and 902 interfaces appear to route to specific hosts. These may be proper configurations, but since they are different from default configurations, and different from khepx019, this is where I would focus for now. I see nothing else out of the ordinary.
APA configurations can be rather complex, and I would hesitate to tell you to change something here without a lot of testing. I would suggest going over the /etc/rc.config.d/netconf, /etc/rc.config.d/hp_apaconf, /etc/rc.config.d/hp_apaportconf, and if used /etc/lanmon/lanconfig.ascii file with APA experts at HP support.
- Tags:
- APA
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2013 09:46 PM - edited 01-04-2013 09:10 AM
01-03-2013 09:46 PM - edited 01-04-2013 09:10 AM
Re: SCP is slow in 1 out of 4 directions! different than most things
>if logged into khupepc001 and issues a scp /tmp/aectst khepx019:/tmp/aectst it takes 5 seconds
To be complete, can you reverse this and get the 4th direction and time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2013 03:41 AM
01-04-2013 03:41 AM
Re: SCP is slow in 1 out of 3 directions!!! Different than most things
- Tags:
- lanadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2013 07:44 AM
01-04-2013 07:44 AM
Re: SCP is slow in 1 out of 3 directions!!! Different than most things
Well just an update for everyone, to keep you in the loop. We have talked to Cisco and apparently they had us open up some buffers to max, and this cut the time in half down to 2 1/2 to 3 minutes....but apparently going from HP to Cisco equipment there is a problem with it handling burst copy. No one is sure what we should do now, but Cisco is looking into it......
Side not we did check all of the Duplex issues the first night this happened, and MTU settings , and setups on the OA's....WE, meaning HP, Epic didnt see any missmatches.