Raspberry Pi 3B+: SFTP transfers from external HDD time out

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Raspberry Pi 3B+: SFTP transfers from external HDD time out

Postby jonandermb » Sun Nov 04, 2018 1:24 am

I've set up my raspberry pi (3B+) with a 2.5A power supply and an externally powered 2Tb HDD connected via USB.

Everything seems to run fine except for the sftp file transfers in which the device goes nuts.

I use filezilla to retrieve some torrented files from the raspberry and the transfer just plain stops for some seconds, then filezilla reconnects and continues the download.

At first I plugged a 2.5'' HDD non-externally powered disk and though that was an issue with power consumption, having the disk drain most of it and making the network unstable, but now, with an externally powered HDD, I have no clue of what could be happening...
jonandermb
 
Posts: 21
Joined: Fri Jan 10, 2014 7:44 pm

Re: Raspberry Pi 3B+: SFTP transfers from external HDD time

Postby TheSaint » Sun Nov 04, 2018 5:11 am

We too can't guess it, in particular if there's no information about your system.
Would you provide some details of you journal or the SFTP server log ?
BTW, have tried to use samba for file transfer ?
TheSaint
 
Posts: 346
Joined: Mon Jul 23, 2018 7:57 am

Re: Raspberry Pi 3B+: SFTP transfers from external HDD time

Postby ufo6000 » Sun Nov 04, 2018 8:26 am

armv7 or arm64 ?
anything in dmesg ?
What happens if you copy locally the content to /dev/null on the pi3+ ?
ufo6000
 
Posts: 117
Joined: Fri Jan 22, 2016 7:54 pm

Re: Raspberry Pi 3B+: SFTP transfers from external HDD time

Postby jonandermb » Sun Nov 04, 2018 8:35 am

It's arm64
I don't see anything relevant on dmesg
Locally copying the files to another location or to the internal storage (sdcard) seems to work fine.

Actually, copying a file to the internal sdcard and then pulling it via sftp gets stuck as well so I think it's just an sftp issue alone. That or network configf related....
jonandermb
 
Posts: 21
Joined: Fri Jan 10, 2014 7:44 pm

Re: Raspberry Pi 3B+: SFTP transfers from external HDD time

Postby jonandermb » Sun Nov 04, 2018 8:46 am

Sorry, there's actually something in dmesg: https://pastebin.com/ej9e9x7a
jonandermb
 
Posts: 21
Joined: Fri Jan 10, 2014 7:44 pm

Re: Raspberry Pi 3B+: SFTP transfers from external HDD time

Postby jonandermb » Sun Nov 04, 2018 8:58 am

It's definitely something to do with the network interface:
$this->bbcode_second_pass_code('', '
netstat -su
IcmpMsg:
InType3: 301
InType8: 1
OutType0: 1
OutType3: 97
Udp:
763027 packets received
97 packets to unknown port received
10044 packet receive errors
161335 packets sent
10044 receive buffer errors <---------------------------------------------- BUFFER ERRORS
0 send buffer errors
UdpLite:
IpExt:
InMcastPkts: 133
OutMcastPkts: 127
InBcastPkts: 16
OutBcastPkts: 8
InOctets: 791813844
OutOctets: 100009484
InMcastOctets: 10130
OutMcastOctets: 12596
InBcastOctets: 4381
OutBcastOctets: 1911
InNoECTPkts: 796543
InECT0Pkts: 203069')
jonandermb
 
Posts: 21
Joined: Fri Jan 10, 2014 7:44 pm

Re: Raspberry Pi 3B+: SFTP transfers from external HDD time

Postby ufo6000 » Sun Nov 04, 2018 9:16 am

Sounds like my problem with arm64:

archarm64 - issue with big files over network? viewtopic.php?t=13158

Maybe you can do some tests to confirm ? I had given up and reverted to armv7
ufo6000
 
Posts: 117
Joined: Fri Jan 22, 2016 7:54 pm

Re: Raspberry Pi 3B+: SFTP transfers from external HDD time

Postby jonandermb » Sun Nov 04, 2018 9:23 am

That does really look like my issue...
jonandermb
 
Posts: 21
Joined: Fri Jan 10, 2014 7:44 pm


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 9 guests