提交速度非常慢/在几次上传后挂起
我最近开始注意到 VisualSVN(+server) 和/或 TortoiseSVN 的一些非常烦人的问题。该问题发生在多 (2) 台计算机上。两者都运行 Windows 7 x64
VisualSVN 服务器运行 Windows XP SP3。
发生的情况是,在 1、2 或 3(或更多一点,但几乎总是在同一个文件中)之后,提交只是在传输数据时挂起。速度为 0 字节/秒。
我在服务器上找不到任何错误日志。我还刚刚要求对 Enterprise Server 进行 45 天的试用,以了解其日志记录功能,但也没有出现任何错误。
访问存储库磁盘本身很快,我可以搜索/复制/粘贴到该磁盘/SVN 存储库磁盘。
Visual SVN Server 也不会使用过多的内存或 CPU 使用率,保持在 0-3% 左右。 服务器和 TortoiseSVN 的内存占用都会发生移动/变化,这表明至少有“某些事情”正在发生。
使用 Eclipse 进行提交(不同的项目(PHP),服务器上的不同存储库)进展顺利。没有减速,几乎即时提交,1 个文件或 50 个文件。我使用的 Eclipse 插件是 Subclipse。
我目前很困惑这个问题,它阻止我们现在使用 SVN。
[编辑2011-09-08 1557] 我注意到它在处理“大”文件时速度非常慢,例如 1700MB .resx(二进制)或 77KB .h 源(文本)文件。 “小”文件> 10KB 几乎立即消失。
[编辑2011-09-08 1608] 我刚刚将代码添加到 code.google.com,看看问题是出在我这边还是服务器端。添加到谷歌代码一切顺利,根本没有挂起。 2,17MB 在 2 分 37 秒内传输。
I've recently started to notice really annoying problems with VisualSVN(+server) and/or TortoiseSVN. The problem is occurring on multiple (2) machines. Both running Windows 7 x64
The VisualSVN-server is running Windows XP SP3.
What happens is that after say, 1 2 or 3 (or a bit more, but almost always at the same file) the commit just hangs on transferring data. With a speed of 0bytes/sec.
I can't find any error logs on the Server. I also just asked for a 45day trial of Enterprise Server for its logging capabilities but no errors there as well.
Accessing the repository disk itself is fast, I can search/copy/paste to that disk/SVN repo disk just fine.
The Visual SVN Server also does not use excessive amounts of memory nor CPU usage, which stays around 0-3%.
Both the Server as well as TortoiseSVN's memory footprint moves/changes which would indicate at least "something" is happening.
Committing with Eclipse (different project (PHP), different repository on the server) is going great. No slow downs, almost instant commits, with 1 file or 50files. The Eclipse plugin that I use is Subclipse.
I am currently quite stuck on this problem and it is prohibiting us from working with SVN right now.
[edit 2011-09-08 1557]
I've noticed that it goes extremely slow at 'large' files, for instance a 1700MB .resx (binary) or 77KB .h source (text) file. 'small' files > 10KB go almost instantly.
[edit 2011-09-08 1608]
I've just added the code to code.google.com to see if the problem is on my end or the server end. Adding to google code goes just fine, no hangs at all. 2,17MB transferred in 2mins and 37secs.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经找到并解决了这个问题。这似乎是一个有故障的 NIC,speedtest.net 导致约 1mbit,插入不同的 NIC 将其推至最大 60mbit,并解决了我的提交问题。
I've found and fixed the problem. It appeared to have been a faulty NIC, speedtest.net resulted in ~1mbit, shoving in a different NIC pushed this to the max of 60mbit and solving my commit problems.