linux - Problems with SCP stalling during file copy over VPN -
i have series of files need copy via scp on vpn remote linux server virtual linux server. files not large(4m-500m), file copy stalls. seems network disconnect after that, because could't receive reply ping operation. , have restart network service.
the virtual linux server's os centos 6.4, , use pptp vpn client.
from /var/log/messages find messages this:
pptp[14514]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1181 (expecting 1043, lost or reordered) pptp[14514]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1182 (expecting 1043, lost or reordered) pptp[14514]: anon log[decaps_gre:pptp_gre.c:414]: buffering packet 1183 (expecting 1043, lost or reordered) ... rsyslogd-2177: imuxsock begins drop messages pid 14514 due rate-limiting rsyslogd-2177: imuxsock lost 130 messages pid 14514 due rate-limiting ... anon log[decaps_gre:pptp_gre.c:414]: buffering packet 104763 (expecting 104761, lost or reordered) anon log[decaps_gre:pptp_gre.c:414]: buffering packet 104764 (expecting 104761, lost or reordered) anon log[decaps_gre:pptp_gre.c:414]: buffering packet 104765 (expecting 104761, lost or reordered) ... anon warn[decaps_gre:pptp_gre.c:426]: discarding bogus packet 105383 (expecting 104814) anon warn[decaps_gre:pptp_gre.c:426]: discarding bogus packet 105384 (expecting 104814) anon warn[decaps_gre:pptp_gre.c:426]: discarding bogus packet 105385 (expecting 104814)
what have tried far:
limit speed of scp
modify mtu of ppp0 1492(according this question)
both of them not worked.
ok, not solve problem, used way achieve goal.
i find way copy file remote server, rsync command. it's more fast scp.
more details can found questions: what difference between scp , rsync
hope can help.
Comments
Post a Comment