You are not logged in.

#1 2010-06-07 17:43:31

cebru
Member
Registered: 2009-06-17
Posts: 39

File transfer through SSH stops all connections temporarily

I have a personal server running, which I am experiencing this rather annoying issue with.

Whenever I try to move large files to the server via SFTP, rsync, etc. the computer will temporarily stop all connections to the server. This usually lasts about 5 minutes. During this time I am unable to ping the server (destination unreachable). Currently moving the StarCraft 2 installer to the server and so far it has stopped five times. This is very annoying, as it also closes down access to some small websites and Mumble voice chat.

I honestly got no idea what is wrong here. Anyone know how I can possibly fix this? If I need to provide more details, please let me know. Thank you.

Offline

#2 2010-06-07 23:20:55

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: File transfer through SSH stops all connections temporarily

when uploading your files, does your server stop, or does the client? also, is there any iptables policy of any other network policy of any kind on each end.

you can configure your tcp parameters for a smaller receiving window size on the server or on the client to see if it helps anything.

also, check /var/log/everything.log for anything useful.

Offline

#3 2010-06-07 23:35:04

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: File transfer through SSH stops all connections temporarily

Have you looked into QoS?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2010-06-08 22:40:26

alterecco
Member
Registered: 2009-07-13
Posts: 152

Re: File transfer through SSH stops all connections temporarily

Try to ping your gateway. If that is down also, then it might be a router/modem issue

Offline

#5 2010-06-08 22:55:01

Foucault
Member
From: Athens, Greece
Registered: 2010-04-06
Posts: 214

Re: File transfer through SSH stops all connections temporarily

Indeed, cheap routers tend to perform poorly under heavy load. One of my previous routers used to just hang under load. It would be functional again only after hard reboot.

Offline

#6 2010-06-09 14:21:00

cebru
Member
Registered: 2009-06-17
Posts: 39

Re: File transfer through SSH stops all connections temporarily

#2 The server stops. Was unable to find anything useful in the logs.

#3 Are there any QoS defined for a standard Arch install? Could that be the reason the network stops temporarily when a certain limit has been reached?

#3,#4 I guess that could be the problem, but I did not have this issue when I ran Debian on my server. Besides, when people download large files through port 80 there are no issues.

Thank you for the replies.

Offline

#7 2010-06-09 16:39:34

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: File transfer through SSH stops all connections temporarily

cebru wrote:

#2 The server stops. Was unable to find anything useful in the logs.

#3 Are there any QoS defined for a standard Arch install? Could that be the reason the network stops temporarily when a certain limit has been reached?

#3,#4 I guess that could be the problem, but I did not have this issue when I ran Debian on my server. Besides, when people download large files through port 80 there are no issues.

Thank you for the replies.

I guess that if you have a ridiculously weak machine a scp-transfer could time out a HTTP-request, what are the servers specs?


Believe in the Ideal, not the Idol.

Offline

Board footer

Powered by FluxBB