LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-20-2003, 03:45 PM   #1
Xitron
LQ Newbie
 
Registered: Nov 2003
Location: Montana
Posts: 2

Rep: Reputation: 0
Question scp stalled


I have two boxes that are unwilling to properly communicate using ssh or scp. One is SuSE 8.1, and the other is AIX 4.3.3.

I can use either box to communicate with any other box under my control, and can scp files with no problems. Good speed, quick response, etc.

However, when I try to get these two communicating, the speed drops to around 5Kbytes per second and continues to drop over a 10 second period till the throughput is below 3Kbytes, then it stalls out.

These machines are on the same hub on a LAN, and should be able to communicate better than this. The ones they are successfully communicating with are being accessed via Internet.

Interestingly enough, when I add the '-C' option to compress, the entire operation *flies* along and completes.

I've seen this question all over the Internet, but haven't seen many answers, and none that have helped me. Ideas?

Thank you!

Unca Xitron
 
Old 03-23-2010, 11:12 AM   #2
rossdav
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Rep: Reputation: 0
compression making a difference - why?

I had the same issue as this thread reported, and also found that using the '-C' option on SCP and 'z' option on rsync seemed to correct the problem as well. That just opened up my curiosity box, however, and now I am wanting to know why.

My situation was a bit different - everything was working fine to an off-site backup, but when the provider changed physical locations for his hardware, I was unable to complete an scp or rsync to the datastore. This has gone on a couple of weeks with no luck - I have tried different locations to upload from, different types of connections (wireless versus lan), even tried from different machines with the same results.

Why would compressing the data stream make a difference between success and failure - it seems it should work either way, though a bit more efficiently using compression. Any insight is welcomed.
 
Old 03-24-2010, 10:19 AM   #3
bschonec
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Check to ensure that your speed and duplex settings aren't different on your servers/PC and/or switches routers.

I had the EXACT problem you describe. One of my servers had half duplex on a gigabit NIC set. It was a fast transfer at first but then would crawl shortly afterwards.
 
Old 03-25-2010, 04:13 PM   #4
rossdav
LQ Newbie
 
Registered: Jan 2010
Posts: 6

Rep: Reputation: 0
settings for SCP?

OK, so, from what you are saying here, the new environment hosting the hardware has different network settings than the old environment. I have no means of mandating changes on the other end, so I am stuck trying to get this to work from my end. And, it cannot be my router/switch settings either, since I have the same thing happening at other locations. Transfers at the office (both cabled and wireless), at a hotspot (wireless), and my home connection (wireless) have all behaved the same on this laptop. Any suggestions on what I might try first? The provider reports no other users with this issue.

Thanks again.


Quote:
Originally Posted by bschonec View Post
Check to ensure that your speed and duplex settings aren't different on your servers/PC and/or switches routers.

I had the EXACT problem you describe. One of my servers had half duplex on a gigabit NIC set. It was a fast transfer at first but then would crawl shortly afterwards.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scp does not work and gives the following error message: scp: FATAL: Executing ssh1 i akay Linux - Networking 16 09-28-2008 11:41 PM
"stalled" problem in " scp" command gentleshark Linux - Software 1 08-30-2005 02:08 AM
"stalled" problem in " scp" command gentleshark Linux - Networking 1 08-29-2005 12:41 PM
scp/sftp over lan slow/stalled with larger files m29389 Linux - Networking 2 06-24-2004 04:03 AM
scp -stalled- (question) 360 Linux - General 0 02-02-2002 01:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration