linux – FTP’ing大文件时如何防止TCP连接超时?
发布时间:2020-12-13 18:24:11 所属栏目:Linux 来源:网络整理
导读:我无法将大型文件从Internet(FTP)检索到我的 Linux VM.一段时间后它会超时. 实际错误是“无法读取控制连接的回复 – 超时”. 几分钟后,在传输了大量文件后,会发生此错误. 设置是: FTP Client: ncftpget running in Linux on VMWare Player 3.0FTP Server: s
我无法将大型文件从Internet(FTP)检索到我的
Linux VM.一段时间后它会超时.
实际错误是“无法读取控制连接的回复 – 超时”. 设置是: FTP Client: ncftpget running in Linux on VMWare Player 3.0 FTP Server: somebody else's machine out on the Internet,configuration unknown Guest OS: Ubuntu 8.10 Linux 32-bit,with vmxnet and vmware tools installed. Host OS: Vista 64-bit Network: Linux VM connects to the Internet via Bridged NIC (also tried NAT) FTP Mode: PASV 我确实发现一些论坛帖子提到了某处2分钟的超时.但究竟在哪里以及如何解决它并不清楚.已尝试了一些故障排除步骤 >我已经从VMWare Player 3.0切换到VirtualBox 3.0.x,但没有运气. UPDATE 这是netsh界面tcp show global在Vista上的输出,以防它有用: C:Usersalex>netsh interface tcp show global Querying active state... TCP Global Parameters ---------------------------------------------- Receive-Side Scaling State : enabled Chimney Offload State : disabled Receive Window Auto-Tuning Level : highlyrestricted Add-On Congestion Control Provider : none ECN Capability : disabled RFC 1323 Timestamps : disabled ** The above autotuninglevel setting is the result of Windows Scaling heuristics overriding any local/policy configuration. 解决方法
出于故障排除目的,请尝试通过wget或curl下载相同的文件.我怀疑PEra是正确的,NOOP命令会阻止它,并且可能wget或curl会发送它们.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |