Hudson git命令"*非常慢" [英] Hudson git commands are *incredibly* slow

查看:75
本文介绍了Hudson git命令"*非常慢"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了msysgit,并且试图在Hudson内部使用它.每当我在交互式shell中运行命令时,无论是git-bash还是命令提示符,这些命令都是即时的.当我在哈德逊郡经营它们时,它们滞后了很长一段时间.

I have installed msysgit, and I am attempting to use it inside of Hudson. Whenever I run a command in an interactive shell, whether it be git-bash or a command prompt, the commands are instant. When I run them in Hudson, they lag for a very long time.

我刚调用它时,运行/bin/git help花费了63秒.我从来没有等很久才看到克隆开始输出(> 10分钟).

Running /bin/git help took 63 seconds when I just invoked it. I've never waited long enough to see a clone begin outputting (>10 minutes).

Hudson邮件列表已关闭,所以我想我可以在这里尝试...

The Hudson mailing list is down, so I figured I would try here...

推荐答案

我也遇到了这个问题,并找到了解决方法.当Hudson作为服务运行时,普通桌面环境缺少某些东西,这导致与网络有关的事情必须为每个进程重新加载. msys-1.0.dll尝试在netapi32.dll中加载某些内容,这会使它花费很长时间.因此,我只是从PuTTY下载了plink.exe,并设置了GIT_SSH env来使用它.问题已解决.

I've run into this problem as well, and figured out a workaround. When Hudson runs as a service, something is missing that your normal desktop environment has, which causes something to do with the network to have to re-load for each process. msys-1.0.dll attempts to load something in netapi32.dll which causes it to take so long. So I just downloaded plink.exe from PuTTY, and set my GIT_SSH env to use that instead. Problem averted.

这篇关于Hudson git命令"*非常慢"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆