April 9, 20251 yr Hello guys, I am having issues when trying to transfer files from one server to another. I am not sure what the issue could be here. I use this command scp -r -v /mnt/user/Files [email protected]:/mnt/user/files/ Every few seconds I see a file not being fully transfered and then rekeying like this: scp: debug1: truncating at 758589451 videoname.mkv 43% 364MB 167.2MB/s 00:02 ETAdebug1: enqueue packet: 94 debug1: SSH2_MSG_KEXINIT sent debug1: rekeying in progress debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: sntrup761x25519-sha512 debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: [email protected] MAC: <implicit> compression: none debug1: kex: client->server cipher: [email protected] MAC: <implicit> compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: rekeying in progress debug1: rekeying in progress debug1: rekeying in progress debug1: SSH2_MSG_KEX_ECDH_REPLY received debug1: Server host key: ssh-ed25519 SHA256:mykey debug1: ssh_packet_send2_wrapped: resetting send seqnr 33311 debug1: ssh_set_newkeys: rekeying out, input 18486600 bytes 61481 blocks, output 33282631932 bytes 134188907 blocks debug1: rekey out after 134217728 blocks debug1: dequeue packet: 94 debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: ssh_packet_read_poll2: resetting read seqnr 22388 debug1: SSH2_MSG_NEWKEYS received debug1: ssh_set_newkeys: rekeying in, input 18486612 bytes 61482 blocks, output 33282664720 bytes 4098 blocks debug1: rekey in after 134217728 blocks videoname.mkv 100% 845MB 213.6MB/s 00:03 scp: debug1: truncating at 886474691 Has anyone experienced something similar? I also noticed quite a few retries when using iperf3. iperf3 -c 192.168.1.69 -P 1 -i 1 -p 5201 -f M Connecting to host 192.168.1.69, port 5201 [ 5] local 192.168.1.44 port 46174 connected to 192.168.1.69 port 5201 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 1.11 GBytes 1131 MBytes/sec 1972 560 KBytes [ 5] 1.00-2.00 sec 1.10 GBytes 1121 MBytes/sec 12 614 KBytes [ 5] 2.00-3.00 sec 1.10 GBytes 1125 MBytes/sec 0 605 KBytes [ 5] 3.00-4.00 sec 1.09 GBytes 1119 MBytes/sec 0 588 KBytes [ 5] 4.00-5.00 sec 1.09 GBytes 1119 MBytes/sec 0 588 KBytes [ 5] 5.00-6.00 sec 1.09 GBytes 1117 MBytes/sec 0 614 KBytes [ 5] 6.00-7.00 sec 1.09 GBytes 1121 MBytes/sec 25 591 KBytes [ 5] 7.00-8.00 sec 1.09 GBytes 1120 MBytes/sec 11 583 KBytes [ 5] 8.00-9.00 sec 1.09 GBytes 1120 MBytes/sec 35 574 KBytes [ 5] 9.00-10.00 sec 1.10 GBytes 1124 MBytes/sec 0 574 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-10.00 sec 11.0 GBytes 1123 MBytes/sec 2055 sender [ 5] 0.00-10.00 sec 11.0 GBytes 1121 MBytes/sec receiver Cables are new to both servers with a Mikrotik CRS305 between both servers. Transceivers are used but I tried changing the cables from Fiber to DAC without seeing any difference. Any help is appreciated :)
April 10, 20251 yr Author 7 hours ago, JorgeB said: Do you see the same with another tool, like rsync for example? I haven't tried rsync but since my network also seems to be very unstable I think the issue lies somewhere else. My Mikrotik 10gig switch is plugged into a QNAP QSW switch which is then plugged into my pfsense firewall. I wonder if packets travel through these other instances slowing down my traffic? Or would they not interfer? I will investigate on the weekend and come back.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.